-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
43 lines (36 loc) · 788 Bytes
/
tox.ini
File metadata and controls
43 lines (36 loc) · 788 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
38
39
40
41
42
43
[tox]
envlist = packaging,dist_install
skip_missing_interpreters = True
ignore_basepython_conflict = True
[testenv]
description = default settings for unspecified tests
usedevelop = False
skip_install = False
passenv = *
basepython = python3.6
[testenv:pylint]
description = pylint for linting
commands =
pylint src/dvtests/
[testenv:mypy]
commands =
mypy src/dvtests/ setup.py
[flake8]
max-line-length = 80
ignore = E129
exclude =
.tox
.egg
[testenv:flake8]
description = flake8 for style guide and docstring testing
commands =
pip uninstall -y flake8-pytest-style
flake8 src/dvtests/
[testenv:black]
description = black for auto-formatting
commands =
black src/dvtests/
[testenv:pre-commit]
deps = pre-commit
commands =
pre-commit run --all-files