-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 973 Bytes
/
tox.ini
File metadata and controls
37 lines (32 loc) · 973 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
33
34
35
36
37
[flake8]
extend-ignore = E203, E266, E501
exclude =
.git,
.venv,
.tox,
__pycache__,
build,
dist
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
# ignore unused import in __init__, used to pull into namespace
per-file-ignores =
src/prefixctl/settings/__init__.py:F821
src/prefixctl/settings/dev.py:F821
src/prefixctl/settings/dev_append.py:F821
src/prefixctl/wsgi.py:E402
[tox]
envlist = py39,py310,py311,py312
isolated_build = True
[testenv]
passenv = CI TRAVIS*
commands = py.test --cov-report=term-missing --cov-report=xml --cov={envsitepackagesdir}/src/django_prefixctl
codecov -e TOXENV
deps =
-r{toxinidir}/Ctl/requirements.txt
-r{toxinidir}/Ctl/requirements-test.txt
[pytest]
norecursedirs = .ctl data gen .tox