-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
34 lines (28 loc) · 921 Bytes
/
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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = flake8, py38, py311
[testenv]
commands = pytest -v --cov=girder_worker_utils
deps = -rrequirements.txt
[testenv:flake8]
skip_install = true
deps =
flake8
flake8-blind-except
flake8-docstrings
flake8-quotes
commands = flake8 girder_worker_utils
[testenv:covhtml]
commands = pytest --cov=girder_worker_utils --cov-report html --cov-report term
[flake8]
enable-extensions = C, D, E, F, I, N, W
max-line-length = 100
max-complexity = 10
ignore = D100,D101,D102,D103,D104,D105,D107,D200,D204,D205,D400,W504
import-order-style = google
application-import-names = girder_worker_utils,gw_utils_demo_app
[coverage:run]
omit = girder_worker_utils/tests/*