@@ -14,7 +14,6 @@ classifiers = [
14
14
]
15
15
dependencies = [
16
16
" mdformat >= 0.7.19" ,
17
- " mdformat-admon >= 2.0.6" ,
18
17
" mdformat-gfm >= 0.3.6" ,
19
18
" mdit-py-plugins >= 0.4.1" ,
20
19
" more-itertools >= 10.5.0" ,
@@ -85,7 +84,7 @@ ignore_patterns = []
85
84
now = true
86
85
patterns = [" *.ambr" , " *.md" , " *.py" ]
87
86
runner = " tox"
88
- runner_args = [" -e" , " py312-beartype" ]
87
+ runner_args = [" -e" , " py312-test " , " -- " , " --exitfirst " , " --failed-first " , " --new-first " , " -vv " , " -- beartype-packages=mdformat_mkdocs " , " --snapshot-update " ]
89
88
90
89
[tool .ruff ]
91
90
# Docs: https://github.com/charliermarsh/ruff
@@ -152,22 +151,20 @@ all = true
152
151
in_place = true
153
152
trailing_comma_inline_array = true
154
153
154
+ [tool .tomlsort .overrides ."tool .pytest-watcher .*" ]
155
+ inline_arrays = false
156
+
155
157
[tool .tomlsort .overrides ."tool .tox .env .*" ]
156
158
inline_arrays = false
157
159
158
160
[tool .tox ]
159
161
# Docs: https://tox.wiki/en/4.23.2/config.html#core
160
162
basepython = [" python3.12" , " python3.9" ]
161
- env_list = [" py12-test " , " py312-pre-commit " , " py312-ruff " , " py312-type" , " py39-hook" , " py39-test" ]
163
+ env_list = [" py312-pre-commit " , " py312-ruff " , " py312-test " , " py312-type" , " py39-hook" , " py39-test" ]
162
164
isolated_build = true
163
165
requires = [" tox>=4.20.0" ]
164
166
skip_missing_interpreters = false
165
167
166
- [tool .tox .env ."py12-test" ]
167
- commands = [[" pytest" , " --cov=mdformat_mkdocs" , {default = [], extend = true , replace = " posargs" }]]
168
- deps = [" --requirement=tests/requirements.txt" ]
169
- description = " Optionally, specify: '--exitfirst --failed-first --new-first -vv --beartype-packages=mdformat_mkdocs'"
170
-
171
168
[tool .tox .env ."py312-pre-commit" ]
172
169
commands = [[" pre-commit" , " run" , " --all-files" , {default = [], extend = true , replace = " posargs" }]]
173
170
deps = " pre-commit>=4.0.1"
@@ -182,18 +179,22 @@ deps = "ruff>=0.8.3"
182
179
description = " Optionally, specify: '--unsafe-fixes'"
183
180
skip_install = true
184
181
182
+ [tool .tox .env ."py312-test" ]
183
+ commands = [[" pytest" , " --cov=mdformat_mkdocs" , {default = [], extend = true , replace = " posargs" }]]
184
+ description = " Optionally, specify: '--exitfirst --failed-first --new-first -vv --beartype-packages=mdformat_mkdocs --snapshot-update"
185
+ extras = [" test" ]
186
+
185
187
[tool .tox .env ."py312-type" ]
186
188
commands = [[" mypy" , " ./mdformat_mkdocs" , {default = [], extend = true , replace = " posargs" }]]
187
189
deps = [" mypy>=1.13.0" ]
188
190
189
191
[tool .tox .env ."py39-hook" ]
190
192
commands = [[" pre-commit" , " run" , " --config=.pre-commit-test.yaml" , " --all-files" , {default = [" --show-diff-on-failure" , " --verbose" ], extend = true , replace = " posargs" }]]
191
193
deps = " pre-commit>=4.0.1"
192
- skip_install = true
193
194
194
195
[tool .tox .env ."py39-test" ]
195
196
commands = [[" pytest" , " --cov=mdformat_mkdocs" ]]
196
- deps = [" --requirement=tests/requirements.txt " ]
197
+ extras = [" test " ]
197
198
198
199
[tool .tox .env_run_base ]
199
200
# Validates that commands are set
0 commit comments