-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.cfg
31 lines (27 loc) · 877 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# Aligned with black https://github.com/psf/black/blob/main/.flake8
extend-ignore = E203, E266, E501
# Note: there cannot be spaces after commas here
exclude =
ignore =
E4, # Import formatting
E731, # Assigning lambda expression
W503, # line break before binary operator
per-file-ignores =
**/benchmarks/*:
# local variable is assigned to but never used
F841,
# Ambiguous variable name
E741,
max-line-length = 88
[isort]
sections = FUTURE,STDLIB,THIRDPARTY,DISTRIBUTED,FIRSTPARTY,LOCALFOLDER
profile = black
skip_gitignore = true
force_to_top = true
default_section = THIRDPARTY
known_distributed = dask,distributed,zict
known_first_party = benchmarks