-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
59 lines (51 loc) · 1.6 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
[tox]
envlist =
py{39,310,311,312,313}-lint,
py{39,310,311,312,313}-unit,
py{39,310,311,312,313}-bandit,
py312-pydocstyle
py{39,310,311,312,313}-mypy,
skipsdist = True
skip_missing_interpreters = True
[pytest]
addopts=-n auto --pyargs wdl2cwl
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
description =
py{39,310,311,312,313}-unit: Run the unit tests
py{39,310,311,312,313}-lint: Lint the Python code
py{39,310,311,312,313}-bandit: Search for common security issues
py{39,310,311,312,313}-mypy: Check for type safety
py312-pydocstyle: docstring style checker
passenv =
CI
GITHUB_*
deps =
py{39,310,311,312,313}-lint: flake8-bugbear
py{39,310,311,312,313}-lint: black
py{39,310,311,312,313}-bandit: bandit
py312-pydocstyle: pydocstyle
py312-pydocstyle: diff-cover
setenv =
py{39,310,311,312,313}-unit: LC_ALL = C.UTF-8
commands =
py{39,310,311,312,313}-{unit,mypy}: python -m pip install -U pip setuptools wheel
py{39,310,311,312,313}-{lint,mypy,unit}: python -m pip install .[all]
py{39,310,311,312,313}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
py{39,310,311,312,313}-bandit: make bandit
py{39,310,311,312,313}-lint: make flake8
py{39,310,311,312,313}-lint: make format-check
py{39,310,311,312,313}-lint: make validate-cwl
py{39,310,311,312,313}-mypy: make mypy
py312-pydocstyle: make diff_pydocstyle_report
allowlist_externals =
py{39,310,311,312,313}-lint: flake8
py{39,310,311,312,313}-lint: black
py{39,310,311,312,313}-{bandit,mypy,shellcheck,lint,unit}: make
py312-pydocstyle: make