-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox-settings.toml
65 lines (49 loc) · 1.43 KB
/
tox-settings.toml
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
63
64
65
[nitpick.files.present]
"tox.ini" = "Use tox for automations. This helps CI/CD pipelines, they only have to call `tox` to run all automations for the project."
# ["tox.ini"."tox:.package"]
# basepython = "python3"
# ["tox.ini".tox]
# isolated_build = true
# envlist = "clean, lint, py{37}-testenv, coverage-report, build || clean, lint, py{37}-testenv, coverage-report, build"
# ["tox.ini"."testenv:lint"]
# skip_install = true
# deps = "poetry"
# passenv = "HOMEPATH # needed on Windows"
# commands = """
# poetry install
# pre-commit install
# pre-commit run --all-files
# """
# ["tox.ini".testenv]
# skip_install = true
# deps = "poetry"
# commands = """
# poetry install
# pytest --cov --cov-append --cov-report=term-missing --junitxml=./test_report.xml --cov-branch
# """
# ["tox.ini"."testenv:build"]
# skip_install = true
# deps = "poetry"
# commands = "poetry build --format wheel"
# ["tox.ini"."testenv:coverage-report"]
# skip_install = true
# deps = """
# coverage[toml]
# coverage2clover
# """
# commands = """
# coverage report
# coverage xml
# coverage2clover -i coverage.xml -o clover.xml
# """
# ["tox.ini"."testenv:clean"]
# skip_install = true
# deps = "coverage[toml]"
# commands = "coverage erase"
# ["tox.ini"."testenv:docs"]
# skip_install = true
# deps = "poetry"
# commands = """
# poetry insall
# sphinx-build -b dirhtml "{toxinidir}/docs/source" "{toxinidir}/docs/build"
# """