forked from nens/threedi-results-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
36 lines (32 loc) · 1.2 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
[tool:pytest]
# Note: coverage is configured in .coveragerc
python_files = tests.py test_*.py
[flake8]
# Exclude notes:
# - utils/importer (legacy code)
# - help (auto-generated)
# - resources.py (auto-generated)
# - ui (auto-generated, in principle)
# - tool_statistics because this was included from the ThreeDiStatistics plugin repo, which we have
# no control over, but should eventually be fixed (TODO)
exclude=pydev,resources.py,conf.py,third_party,ui,help,utils/importer,external-dependencies
# Ignore notes:
# - E402 (because of sys.path modifications)
# - W605 (weird regexes in utils.py, sqlalchemy_add_colums.py)
# - E501 line length: we use black now and if black can't cut down the length...
# - the rest are codes that were ignored on default, but became disabled
# when custom codes were added, see:
# http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
ignore=E121,E123,E126,E133,E203,E226,E241,E242,E704,E501,W503,W504,E402,W605
max-line-length = 88
[isort]
atomic = true
force_alphabetical_sort = true
force_single_line = true
include_trailing_comma = true
line_length = 88
lines_after_imports = 2
multi_line_output = 3
not_skip = __init__.py
skip = external-dependencies
use_parentheses = true