Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ repos:
- id: codespell
additional_dependencies: ["tomli>=2.4"]
- repo: https://github.com/tox-dev/tox-toml-fmt
rev: "v1.9.3"
rev: "v1.10.0"
hooks:
- id: tox-toml-fmt
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.28.1"
rev: "v2.29.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.16.4"
rev: "v0.16.5"
hooks:
- id: ruff-format
alias: ruff
Expand All @@ -46,7 +46,7 @@ repos:
- mdformat-gfm>=1
- mdformat-ruff>=0.1.3
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.29.0
rev: v1.30.0
hooks:
- id: zizmor
- repo: meta
Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,14 @@ lint.per-file-ignores."meta/tests/**/*.py" = [
"S101", # asserts allowed in tests...
]
lint.per-file-ignores."tests/**/*.py" = [
"D", # don't care about documentation in tests
"FBT", # don't care about booleans as positional arguments in tests
"INP001", # no implicit namespace
"PLC2701", # private import is fine
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
"S", # no safety concerns
"S101", # asserts allowed in tests...
"D", # don't care about documentation in tests
"FBT", # don't care about booleans as positional arguments in tests
"INP001", # no implicit namespace
"PLC2701", # private import is fine
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
"pytest-fixture-autouse", # shared setup fixtures are meant to apply to every test
"S", # no safety concerns
"S101", # asserts allowed in tests...
]
lint.isort = { known-first-party = [
"tox_uv",
Expand Down
12 changes: 6 additions & 6 deletions tox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ commands = [
],
]

[env."meta-3.15"]
base = [ "meta" ]

[env."meta-3.14"]
base = [ "meta" ]

[env.fix]
description = "format the code base to adhere to our styles, and complain about what we cannot do automatically"
skip_install = true
Expand Down Expand Up @@ -135,9 +141,3 @@ base = [ "meta" ]

[env."meta-3.13"]
base = [ "meta" ]

[env."meta-3.14"]
base = [ "meta" ]

[env."meta-3.15"]
base = [ "meta" ]