Skip to content

Lint session fails with flake8==6.1.0 #199

Closed
@parthea

Description

@parthea

flake8==6.1.0 was released on July 29th.
https://pypi.org/project/flake8/6.1.0/#history

When running the lint check with flake8==6.1.0 , the check fails with the following errors:

(py38) partheniou@partheniou-vm-3:~/git/python-db-dtypes-pandas$ nox -s lint
nox > Running session lint
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/lint
nox > python -m pip install flake8 black==22.3.0
nox > black --check docs db_dtypes tests noxfile.py setup.py
All done! ✨ 🍰 ✨
23 files would be left unchanged.
nox > flake8 db_dtypes tests
db_dtypes/core.py:93:56: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
db_dtypes/core.py:96:12: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
nox > Command flake8 db_dtypes tests failed with exit code 1
nox > Session lint failed.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-db-dtypes-pandas API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions