diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93780e4de..973ed4279 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.14.11 hooks: - id: ruff-check types: [file] @@ -38,7 +38,7 @@ repos: # tomli needed on 3.10. tomllib is available in stdlib on 3.11+ - tomli - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.41.0 + rev: v1.42.0 hooks: - id: typos - repo: https://github.com/sphinx-contrib/sphinx-lint @@ -46,7 +46,7 @@ repos: hooks: - id: sphinx-lint - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.19.0 + rev: v1.20.0 hooks: - id: zizmor - repo: local @@ -73,7 +73,7 @@ repos: additional_dependencies: ["pyyaml"] files: ^(test-requirements\.txt)|(\.pre-commit-config\.yaml)$ - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.9.21 + rev: 0.9.24 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 7c0373e35..b7c3189fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,6 +155,7 @@ extend-ignore = [ "PERF203", # try-except-in-loop (not always possible to refactor) "PT012", # multiple statements in pytest.raises block "SIM117", # multiple-with-statements (messes up lots of context-based stuff and looks bad) + "RUF067", # non-empty-init-module, since we need lots of logic in our __init__ # conflicts with formatter (ruff recommends these be disabled) "COM812", diff --git a/test-requirements.txt b/test-requirements.txt index e398ef8dd..0bca01b22 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -136,7 +136,7 @@ requests==2.32.5 # via sphinx roman-numerals==4.1.0 ; python_full_version >= '3.11' # via sphinx -ruff==0.14.10 +ruff==0.14.11 # via -r test-requirements.in sniffio==1.3.1 # via -r test-requirements.in @@ -198,7 +198,7 @@ typing-extensions==4.15.0 # virtualenv urllib3==2.6.2 # via requests -uv==0.9.21 +uv==0.9.24 # via -r test-requirements.in virtualenv==20.35.4 # via pre-commit