generated from executablebooks/mdformat-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
40 lines (33 loc) · 1.28 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
[tox]
envlist = py{38,39,310,311,312},py{38,39,310,311,312}-gfm
isolated_build = True
[testenv:py{38,39,310,311,312}]
extras = test
commands = pytest --cov --cov-append --cov-report=term-missing {posargs}
[testenv:py{38,39,310,311,312}-gfm]
deps = mdformat_gfm
extras = test
commands = pytest --cov --cov-append --cov-report=term-missing {posargs}
# 3.12 is left out beause of issues with importlib_metadata.entry_points
[testenv:py{38,39,310,311}-pre-commit]
extras = dev
commands = pre-commit run {posargs}
# 3.12 is left out beause of issues with importlib_metadata.entry_points
[testenv:py{38,39,310,311}-pre-commit-gfm]
extras = dev
deps = mdformat_gfm
commands = pre-commit run {posargs}
# 3.12 is left out beause of issues with importlib_metadata.entry_points
[testenv:py{38,39,310,311}-hook]
extras = dev
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}
# 3.12 is left out beause of issues with importlib_metadata.entry_points
[testenv:py{38,39,310,311}-hook-gfm]
extras = dev
deps = mdformat_gfm
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}
[flake8]
max-line-length = 119
max-complexity = 10
# These checks violate PEP8 so let's ignore them
extend-ignore = E203