forked from yt-project/yt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
41 lines (36 loc) · 1.68 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
[egg_info]
#tag_build = .dev
#tag_svn_revision = 1
# To be kept consistent with "Coding Style Guide" section in CONTRIBUTING.rst
[flake8]
# we exclude:
# api.py, mods.py, _mpl_imports.py, and __init__.py files to avoid spurious
# unused import errors
# autogenerated __config__.py files
# vendored libraries
max-line-length=88
exclude = doc,
benchmarks,
*/api.py, # avoid spurious "unused import"
yt/convenience.py, # avoid spurious "unused import"
*/__init__.py, # avoid spurious "unused import"
*/__config__.py, # autogenerated
yt/extern, # vendored libraries
yt/units, # wrapper around unyt, avoid spurious "unused import"
yt/frontends/stream/sample_data, # autogenerated
# individual files
yt/visualization/_mpl_imports.py,
yt/utilities/fits_image.py,
yt/utilities/lodgeit.py,
yt/mods.py,
yt/visualization/_colormap_data.py,
ignore = E203, # Whitespace before ':' (black compatibility)
E231, # Missing whitespace after ',', ';', or ':'
E266, # Too many leading '#' for block comment
E302, # Expected 2 blank lines, found 0
E306, # Expected 1 blank line before a nested definition
E741, # Do not use variables named 'I', 'O', or 'l'
W503, # Line break occurred before a binary operator (black compatibility)
W605, # Invalid escape sequence 'x'
B302, # this is a python 3 compatibility warning, not relevant since don't support python 2 anymore
jobs=8