-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
64 lines (55 loc) · 1.64 KB
/
Copy pathtox.ini
File metadata and controls
64 lines (55 loc) · 1.64 KB
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
[tox]
envlist =
py{39,310,311,312,313,314}-lint,
py{39,310,311,312,313,314}-unit,
py{39,310,311,312,313,314}-bandit,
py{39,310,311,312,313,314}-mypy,
py312-pydocstyle
isolated_build = True
skip_missing_interpreters = True
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
description =
py{39,310,311,312,313,314}-unit: Run the unit tests
py{39,310,311,312,313,314}-lint: Lint the Python code
py{39,310,311,312,313,314}-bandit: Search for common security issues
py{39,310,311,312,313,314}-mypy: Check for type safety
py310-pydocstyle: docstring style checker
passenv =
CI
GITHUB_*
deps =
py{39,310,311,312,313,314}-{unit,mypy}: -rrequirements.txt
py{39,310,311,312,313,314}-lint: flake8-bugbear
py{39,310,311,312,313,314}-lint: black
py{39,310,311,312,313,314}-bandit: bandit
py{39,310,311,312,313,314}-mypy: -rmypy-requirements.txt
setenv =
py{39,310,311,312,313,314}-unit: LC_ALL = C.UTF-8
commands =
py{39,310,311,312,313,314}-unit: make test
py{39,310,311,312,313,314}-bandit: bandit --recursive cwlprov
py{39,310,311,312,313,314}-lint: make flake8
py{39,310,311,312,313,314}-lint: make format-check
py{39,310,311,312,313,314}-mypy: make mypy
allowlist_externals =
py{39,310,311,312,313,314}-lint: flake8
py{39,310,311,312,313,314}-lint: black
py{39,310,311,312,313,314}-{mypy,shellcheck,lint,unit}: make
skip_install =
py{39,310,311,312,313,314}-lint: true
py{39,310,311,312,313,314}-bandit: true
[testenv:py312-pydocstyle]
whitelist_externals = make
commands = make diff_pydocstyle_report
deps =
pydocstyle
diff-cover
skip_install = true