-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.cfg
29 lines (26 loc) · 908 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
29
[tool:pytest]
norecursedirs = env .eggs
addopts = --tb=short -rxs --nomigrations
DJANGO_SETTINGS_MODULE=tests.testapp.settings
filterwarnings =
error
# we're only using this setting in our test-app right now,
# also we're not a django project, so we would never add settings.
ignore:The USE_L10N setting is deprecate:DeprecationWarning
# django 3.2 is using this module, but not in later versions any more
ignore:'cgi' is deprecated:DeprecationWarning
# httpretty is using the deprecated utcnow
ignore:datetime.datetime.utcnow.*is deprecated:DeprecationWarning
[flake8]
max-line-length = 88
extend-ignore = E203, W503, E501, F405
[pydocstyle]
match-dir = (?!tests|env|docs|\.).*
match = (?!setup).*.py
add_ignore = D1
[isort]
profile = black
skip = manage.py,docs,env,.eggs
known_first_party = heroku_connect,tests
known_third_party = django,pytest,health_check
default_section=THIRDPARTY