forked from lenosi/iqa-one
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
55 lines (50 loc) · 1.11 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
[tox]
envlist = flake8,type,py38
[testenv]
deps = pytest
-r requirements.txt
commands = pytest {posargs:tests}
[testenv:flake8]
skip_install = true
deps = flake8
flake8-import-order
flake8-blind-except
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
flake8-logging-format
flake8-commas
flake8-quotes
flake8-comprehensions
flake8-docstrings
flake8-string-format
flake8-coding
flake8-bugbear
flake8-pep3101
flake8-debugger
flake8-isort
flake8-eradicate
flake8-bandit
flake8-type-annotations
flake8-broken-line
flake8-breakpoint
flake8-print
flake8-if-expr
flake8-pytest
flake8-pytest-style
flake8-return
pep8-naming
flake8-expression-complexity
flake8-cognitive-complexity
flake8-black
commands = flake8 src
#commands = flake8 src tests
[testenv:type]
description = type check
commands = mypy src
# commands = mypy src tests
[flake8]
exclude = .tox
show-source = true
enable-extensions=G
max-line-length = 120