-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
68 lines (61 loc) · 1.35 KB
/
Copy pathtox.ini
File metadata and controls
68 lines (61 loc) · 1.35 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[tox]
envlist = py310,py311,py312,py313,py314,py315,stylecheck
[testenv]
commands =
python -m dev.tests._amqp_environment
python -m unittest discover -s dev -v
install_requires = 'setuptools>=40.8.0,<90' wheel
passenv =
ATASKS_SKIP_AMQP_TESTS
ATASKS_TEST_AMQP_URL
ATASKS_TEST_AMQP_MANAGEMENT_URL
ATASKS_TEST_AMQP_MANAGEMENT_USER
ATASKS_TEST_AMQP_MANAGEMENT_PASSWORD
deps =
backoff
[testenv:unit]
setenv =
ATASKS_SKIP_AMQP_TESTS = 1
commands = python -m unittest discover -s dev -v
[testenv:integration]
commands =
python -m dev.tests._amqp_environment
python -m unittest discover -s dev -v
[testenv:stylecheck]
commands =
isort . --check
flake8
pydocstyle
deps =
isort
flake8
pydocstyle
[flake8]
ignore = F403,W191,E124,E126,E128
max-line-length = 160
exclude =
.*/
*.egg-info/
dev/manage.py
migrations
wheels/
dist/
build/
dev/tests/settings.py
setup.py
[isort]
indent=4
combine_star=1
combine_as_imports=1
include_trailing_comma=1
multi_line_output=3
lines_after_imports=2
known_future_library=future
default_section=THIRDPARTY
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
skip_glob=*migrations*,*.egg-info
skip=.eggs,.venv,.tox,dist,build,wheels,setup.py
[pydocstyle]
inherit = false
select = D100, D101, D102, D103, D104, D107
match-dir = (atasks|dev)