forked from Kegbot/kegbot-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
32 lines (29 loc) · 832 Bytes
/
Copy pathsetup.cfg
File metadata and controls
32 lines (29 loc) · 832 Bytes
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
[flake8]
exclude=build,.git,migrations,settings.py
ignore=E128,E265,E266,E501,W601
max-line-length=100
[tool:pytest]
addopts = -p pykeg.test.plugin -ra --reuse-db --lfnf=all
testpaths = pykeg/
python_files = tests.py test_*.py *_tests.py *_test.py
DJANGO_SETTINGS_MODULE = pykeg.settings
# DB reuse is enabled via --reuse-db in addopts above. (A bare `REUSE_DB = 1`
# here is not a recognized pytest ini option and only emits a config warning.)
# Let async consumer tests run without per-test @pytest.mark.asyncio decorators.
asyncio_mode = auto
[coverage:run]
source = pykeg
omit =
*/migrations/*
*/tests.py
*_test.py
*_tests.py
pykeg/test/*
pykeg/core/testutils.py
[tool:isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
skip_glob=*migrations*