-
Notifications
You must be signed in to change notification settings - Fork 208
/
setup.cfg
25 lines (22 loc) · 633 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
[tool:pytest]
filterwarnings =
ignore:inspect.getargspec:DeprecationWarning:tensorflow
[pytype]
inputs = .
[flake8]
ignore = W503,W504 # line breaks before and after binary operators
# Ignore import not used when aliases are defined
per-file-ignores =
./utils/__init__.py:F401
./utils/import_envs.py:F401
./scripts/all_plots.py:E501
./scripts/plot_train.py:E501
./scripts/plot_training_success.py:E501
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
max-complexity = 10
# The GitHub editor is 127 chars wide
max-line-length = 127