Skip to content

Commit

Permalink
build: copier-auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Dec 15, 2024
1 parent f6f2c23 commit 0883da4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Answer file maintained by Copier for: https://github.com/KyleKing/mdformat-plugin-template
# DO NOT MODIFY THIS FILE. Edit by re-running copier and changing responses to the questions
# Check into version control.
_commit: 1.1.4
_commit: 1.1.5
_src_path: gh:KyleKing/mdformat-plugin-template
author_email: [email protected]
author_name: Kyle King
Expand Down
20 changes: 11 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ ignore_patterns = []
now = true
patterns = ["*.md", "*.py"]
runner = "tox"
runner_args = ["-e", "py312-beartype"]
runner_args = ["-e", "py312-test", "--", "--exitfirst", "--failed-first", "--new-first", "-vv", "--beartype-packages=mdformat_admon"]

[tool.ruff]
# Docs: https://github.com/charliermarsh/ruff
Expand Down Expand Up @@ -134,22 +134,20 @@ all = true
in_place = true
trailing_comma_inline_array = true

[tool.tomlsort.overrides."tool.pytest-watcher.*"]
inline_arrays = false

[tool.tomlsort.overrides."tool.tox.env.*"]
inline_arrays = false

[tool.tox]
# Docs: https://tox.wiki/en/4.23.2/config.html#core
basepython = ["python3.12", "python3.9"]
env_list = ["py12-test", "py312-pre-commit", "py312-ruff", "py312-type", "py39-hook", "py39-test"]
env_list = ["py312-pre-commit", "py312-ruff", "py312-test", "py312-type", "py39-hook", "py39-test"]
isolated_build = true
requires = ["tox>=4.20.0"]
skip_missing_interpreters = false

[tool.tox.env."py12-test"]
commands = [["pytest", "--cov=mdformat_admon", {default = [], extend = true, replace = "posargs"}]]
description = "Optionally, specify: '--exitfirst --failed-first --new-first -vv --beartype-packages=mdformat_admon'"
extras = ["test"]

[tool.tox.env."py312-pre-commit"]
commands = [["pre-commit", "run", "--all-files", {default = [], extend = true, replace = "posargs"}]]
deps = "pre-commit>=4.0.1"
Expand All @@ -161,17 +159,21 @@ commands = [
["ruff", "format", "."],
]
deps = "ruff>=0.8.3"
description = "Optionally, specify: '--unsafe-fixes'"
description = "Optionally, specify: '-- --unsafe-fixes'"
skip_install = true

[tool.tox.env."py312-test"]
commands = [["pytest", "--cov=mdformat_admon", {default = [], extend = true, replace = "posargs"}]]
description = "Optionally, specify: '-- --exitfirst --failed-first --new-first -vv --beartype-packages=mdformat_admon'"
extras = ["test"]

[tool.tox.env."py312-type"]
commands = [["mypy", "./mdformat_admon", {default = [], extend = true, replace = "posargs"}]]
deps = ["mypy>=1.13.0"]

[tool.tox.env."py39-hook"]
commands = [["pre-commit", "run", "--config=.pre-commit-test.yaml", "--all-files", {default = ["--show-diff-on-failure", "--verbose"], extend = true, replace = "posargs"}]]
deps = "pre-commit>=4.0.1"
skip_install = true

[tool.tox.env."py39-test"]
commands = [["pytest", "--cov=mdformat_admon"]]
Expand Down

0 comments on commit 0883da4

Please sign in to comment.