forked from openstack-k8s-operators/ci-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (26 loc) · 592 Bytes
/
Copy pathtox.ini
File metadata and controls
30 lines (26 loc) · 592 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
[tox]
minversion = 4.0.0
isolated_build=True
envlist = unit
toxworkdir=/tmp/.tox
[testenv:unit]
deps =
pyyaml
jinja2
commands =
python -m unittest discover scripts/tests
[flake8]
# W503 - line break before binary operator, ignored by default
# E402 - Module level import not at top of file
# E203 - https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
ignore = E402, W503, E203
max-line-length = 88
exclude =
./venv
./docs
[testenv:flake8]
deps = flake8
commands = flake8
[testenv:black]
deps = black
commands = black --check --diff .