Skip to content

Commit ef8450c

Browse files
[pre-commit.ci] pre-commit autoupdate (#307)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
1 parent 906a243 commit ef8450c

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ repos:
1010
- id: check-github-workflows
1111
args: ["--verbose"]
1212
- repo: https://github.com/codespell-project/codespell
13-
rev: v2.4.1
13+
rev: v2.4.2
1414
hooks:
1515
- id: codespell
1616
additional_dependencies: ["tomli>=2.4"]
1717
- repo: https://github.com/tox-dev/tox-toml-fmt
18-
rev: "v1.8.0"
18+
rev: "v1.9.1"
1919
hooks:
2020
- id: tox-toml-fmt
2121
- repo: https://github.com/tox-dev/pyproject-fmt
2222
rev: "v2.16.2"
2323
hooks:
2424
- id: pyproject-fmt
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.15.4"
26+
rev: "v0.15.5"
2727
hooks:
2828
- id: ruff-format
2929
alias: ruff

tox.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ commands = [
1414
"python",
1515
"-m",
1616
"pytest",
17-
{ replace = "posargs", extend = true, default = [
17+
{ replace = "posargs", default = [
1818
"--cov",
1919
"{env_site_packages_dir}{/}tox_uv",
2020
"--cov",
@@ -31,7 +31,7 @@ commands = [
3131
"--junitxml",
3232
"{work_dir}{/}junit.{env_name}.xml",
3333
"tests",
34-
] },
34+
], extend = true },
3535
],
3636
[
3737
"diff-cover",
@@ -64,6 +64,15 @@ description = "run type check on code base"
6464
dependency_groups = [ "type" ]
6565
commands = [ [ "ty", "check", "--output-format", "concise", "--error-on-warning", "." ] ]
6666

67+
[env.dev]
68+
description = "generate a DEV environment"
69+
package = "editable"
70+
dependency_groups = [ "dev" ]
71+
commands = [
72+
[ "uv", "pip", "tree" ],
73+
[ "python", "-c", "import sys; print(sys.executable)" ],
74+
]
75+
6776
[env.meta]
6877
description = "run meta package tests to verify build and version injection"
6978
package = "skip"
@@ -74,7 +83,7 @@ commands = [
7483
"python",
7584
"-m",
7685
"pytest",
77-
{ replace = "posargs", extend = true, default = [
86+
{ replace = "posargs", default = [
7887
"--cov",
7988
"{tox_root}{/}meta",
8089
"--cov-config=pyproject.toml",
@@ -90,7 +99,7 @@ commands = [
9099
"{work_dir}{/}junit.{env_name}.xml",
91100
"meta/tests",
92101
"-v",
93-
] },
102+
], extend = true },
94103
],
95104
[
96105
"diff-cover",
@@ -116,12 +125,3 @@ base = [ "meta" ]
116125

117126
[env."meta-3.14"]
118127
base = [ "meta" ]
119-
120-
[env.dev]
121-
description = "generate a DEV environment"
122-
package = "editable"
123-
dependency_groups = [ "dev" ]
124-
commands = [
125-
[ "uv", "pip", "tree" ],
126-
[ "python", "-c", "import sys; print(sys.executable)" ],
127-
]

0 commit comments

Comments
 (0)