-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
58 lines (50 loc) · 1.16 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
# Tox (https://tox.readthedocs.io/) is a tool for running tests in multiple virtualenvs.
[tox]
envlist =
lint-py,
lint-vue,
build-vue,
test
skipsdist = True
[testenv]
allowlist_externals = *
[testenv:lint-vue]
commands = npm run lint-vue {posargs}
[testenv:lint-vue-fix]
commands = npm run lint-vue-fix {posargs}
[testenv:build-vue]
commands = npm run build-vue
[testenv:test]
commands = pytest --durations=3 -W ignore::DeprecationWarning {posargs: tests}
[testenv:lint-py]
# Bottom of file has Flake8 settings
commands = flake8 {posargs:ripley config consoler.py application.py scripts tests}
deps =
flake8==6.1.0
flake8-builtins>=2.1.0
flake8-colors>=0.1.9
flake8-commas>=2.1.0
flake8-docstrings>=1.7.0
flake8-import-order>=0.18.2
flake8-pytest>=1.4
flake8-quotes>=3.3.2
flake8-tidy-imports>=4.10.0
pep8-naming>=0.13.3
pydocstyle>=6.3.0
[flake8]
exclude =
*.pyc
.cache
.git
.tox
__pycache__
build
config/*-local.py
dist
node_modules
ignore = D101,D102,D103,D104,D105,D107,W503
import-order-style = google
max-complexity = 13
max-line-length = 150
show-source = True
statistics = True