forked from pytroll/donfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
42 lines (38 loc) · 1.1 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
[bdist_wheel]
universal=1
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
exclude = __init__.py,versioneer.py
ignore =
E20, # Extra space in brackets
E231,E241, # Multiple spaces around ","
E26, # Comments
E4, # Import formatting
E721, # Comparing types instead of isinstance
E731, # Assigning lambda expression
E741, # Ambiguous variable names
W503, # line break before binary operator
W504, # line break after binary operator
F811, # redefinition of unused 'loop' from line 10
max-line-length = 120
[isort]
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
profile = black
skip_gitignore = true
force_to_top = true
default_section = THIRDPARTY
known_first_party = donfig
skip = versioneer.py,donfig/version.py
[versioneer]
VCS = git
style = pep440
versionfile_source = donfig/version.py
versionfile_build =
tag_prefix = v
[coverage:run]
omit =
donfig/version.py
versioneer.py