-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
executable file
·41 lines (37 loc) · 1.03 KB
/
tox.ini
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
37
38
39
40
41
[flake8]
ignore = E402,W391,F405,F841,W503,E501,E203,F401,E701
select = C,E,F,W,B,B950
max-line-length = 240
[coverage:report]
omit =
*/scripts/*
venv/*
**/test_*
**/tests/*
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
[pytest]
# addopts = --no-migrations
# DJANGO_SETTINGS_MODULE = app.test
# DJANGO_CONFIGURATION = CONFIG
norecursedirs = */frontend/* */migrations/ */snapshots/* */scripts/* */g8/* */locale/* */management/* */static/*
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::urllib3.exceptions.InsecureRequestWarning
python_files =
test_*.py
tests.py
markers =
ffmpeg_version: the test related to ffmpeg version
integration: integrtion test, only run in master branch
e2e: end 2 end test
vcr: Mark the test as using VCR.py
[isort]
line_length = 88
use_parentheses = True
include_trailing_comma = True
multi_line_output = 3