Skip to content

Lint session fails with flake8==6.1.0 #1635

@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-bigquery$ 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 > python -m pip install -e .
nox > flake8 google/cloud/bigquery
google/cloud/bigquery/client.py:256:16: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
google/cloud/bigquery/job/query.py:1345:12: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
nox > Command flake8 google/cloud/bigquery failed with exit code 1
nox > Session lint failed.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions