diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84dc778..24a8663 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - id: docstrfmt require_serial: true repo: https://github.com/LilSpazJoekp/docstrfmt - rev: a05381030e526dc863e2006d34824271d7681d08 # frozen: v2.2.0 + rev: c1813841673cdcd6cf602dde1edb78a5d5e45235 # frozen: v2.2.1 - hooks: - id: codesorter @@ -21,7 +21,7 @@ repos: id: ruff - id: ruff-format repo: https://github.com/astral-sh/ruff-pre-commit - rev: aab412d509121cb5f7533134b7e67f9fab59c682 # frozen: v0.16.4 + rev: 321478e58f4938179c6b86e4ddfa923d1547a49b # frozen: v0.16.6 - hooks: - files: ^(.*\.toml)$ diff --git a/pyproject.toml b/pyproject.toml index 3710b74..4727b76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,6 +141,7 @@ ban-relative-imports = "all" "PLW", # pylint warning "PT", # pytest style "PTH", # use pathlib + "pytest-fixture-autouse", # autouse fixtures are core to the VCR test setup "PYI", # stub-only rules "RET", # unnecessary assignment before return "RSE", # raise