-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (33 loc) · 958 Bytes
/
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
[tox]
min_version = 4.0
env_list = py38,py39,py310,py311,py312
[testenv:quality]
description = Run all quality checks
deps =
mypy~=1.10.1
ruff~=0.6.9
mdformat~=0.7.17
mdformat-footnote~=0.1.1
mdformat-frontmatter~=2.0.8
mdformat-gfm~=0.3.6
yamlfix~=1.17.0
commands =
ruff format --check
ruff check
python -m mdformat --check README.md actions/
yamlfix --check --config-file .yamlfix.toml -i .github/**/*.yml -i .github/**/*.yaml -i actions/**/*.yml -i actions/**/*.yaml ./
[testenv:style]
description = Run style checks and fixes
deps =
mypy~=1.10.1
ruff~=0.6.9
mdformat~=0.7.17
mdformat-footnote~=0.1.1
mdformat-frontmatter~=2.0.8
mdformat-gfm~=0.3.6
yamlfix~=1.17.0
commands =
ruff format
ruff check --fix
python -m mdformat README.md actions/
yamlfix --config-file .yamlfix.toml -i .github/**/*.yml -i .github/**/*.yaml -i actions/**/*.yml -i actions/**/*.yaml ./