From 0883da4247e825fd32f7698d92ee10ed3336668a Mon Sep 17 00:00:00 2001 From: Kyle King Date: Sun, 15 Dec 2024 11:26:51 -0500 Subject: [PATCH] build: copier-auto-update --- .copier-answers.yml | 2 +- pyproject.toml | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index e43ede4..df70840 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -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: dev.act.kyle@gmail.com author_name: Kyle King diff --git a/pyproject.toml b/pyproject.toml index 0bf4911..2b68301 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -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" @@ -161,9 +159,14 @@ 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"] @@ -171,7 +174,6 @@ 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"]]