forked from HuaweiCloudDeveloper/gaussdb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
22 lines (18 loc) · 759 Bytes
/
.flake8
File metadata and controls
22 lines (18 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Note: configuration is repeated in the package directories because flake8
# will find the setup.cfg there and will not use this file.
# We also need a copy here because running flake8 from the root dir will
# use no configuration file otherwise. So, apologise for the repetitions.
[flake8]
max-line-length = 88
ignore = W503, E203, E704
extend-exclude = .venv build
per-file-ignores =
# Autogenerated section
gaussdb/gaussdb/errors.py: E125, E128, E302
# Allow concatenated string literals from async_to_sync
gaussdb_pool/gaussdb_pool/pool.py: E501
# Pytest's importorskip() getting in the way
tests/types/test_numpy.py: E402
tests/types/test_shapely.py: E402
tools/async_to_sync.py: E999
tools/bump_version.py: E999