-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (26 loc) · 785 Bytes
/
tox.ini
File metadata and controls
28 lines (26 loc) · 785 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
[tox]
skipsdist = true
isolated_build = True
envlist = py310
[testenv]
extras=test ; refers to [tool.poetry.extras] in pyproject.toml
commands =
pytest -v tests/
[flake8]
exclude = .git,.env,.venv,.tox,env,venv,build,dist,__pycache__,cdk8s_imports
max-line-length = 120
extend-ignore =
# E203: Whitespace before ':' (conflicts with black)
E203,
# E221: Multiple spaces before operator (conflicts with black)
E221,
# E222: Multiple spaces after operator (conflicts with black)
E222,
# W503: Line break occurred before a binary operator (conflicts with black)
W503,
# E702: This is mostly due to the HTML strings for streamlit
E702,
E402,
E713,
# E231: Generating too much noise as it even considers strings in analysis
E231