-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.cfg
28 lines (24 loc) · 886 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
[pycodestyle]
ignore=E501,W503
max-line-length = 120
exclude=.git,settings,migrations,enterprise_catalog/static,bower_components,enterprise_catalog/wsgi.py
[tool:isort]
indent=' '
line_length=80
multi_line_output=3
lines_after_imports=2
include_trailing_comma=True
skip=
settings
migrations
[tool:pytest]
DJANGO_SETTINGS_MODULE = enterprise_catalog.settings.test
addopts = --cov enterprise_catalog --cov-report term-missing --cov-report xml
norecursedirs = .* docs requirements
# Filter depr warnings coming from packages that we can't control.
filterwarnings =
ignore:.*urlresolvers is deprecated in favor of.*:DeprecationWarning:auth_backends.views:5
ignore:.*invalid escape sequence.*:DeprecationWarning:.*(newrelic|uritemplate|psutil).*
ignore:.*the imp module is deprecated in favour of importlib.*:DeprecationWarning:.*distutils.*
[flake8]
max-line-length = 120