forked from projectsyn/commodore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
62 lines (54 loc) · 1.09 KB
/
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
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
[tox]
isolated_build = true
envlist =
flake8
pylint
bandit
py36
py37
py38
[testenv]
description = Unit tests and doctests
deps =
cli-test-helpers
pytest
pytest-xdist
commands =
pytest {posargs}
[testenv:bandit]
description = PyCQA security linter
deps = bandit<1.6.0
commands = bandit -r --ini tox.ini commodore/
[testenv:flake8]
description = Static code analysis and code style
deps = flake8
commands = flake8
[testenv:pylint]
description = Check for errors and code smells
deps =
pylint
commands =
pylint --rcfile=tox.ini commodore
[bandit]
exclude = .cache,.git,.tox,build,dist,docs,tests
targets = .
[flake8]
exclude = *.egg*,.git,.tox,venv
max-line-length = 120
[pylint]
[MASTER]
output-format = colorized
reports = no
disable = invalid-name, missing-function-docstring,missing-class-docstring,missing-module-docstring,fixme
[pytest]
addopts =
--color=yes
--doctest-modules
--ignore=build
--ignore=commodore/component-template
--ignore=commodore/filters
--ignore=commodore/lib
--ignore=dist
--strict
--verbose
-n auto