diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06db0df..d73bce0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.6 + rev: v0.11.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -40,7 +40,7 @@ repos: args: ["--config-file", "pyproject.toml", "--ignore-missing-imports"] #args: [--strict, --ignore-missing-imports] - repo: https://github.com/sourcery-ai/sourcery - rev: v1.34.0 + rev: v1.35.0 hooks: - id: sourcery # The best way to use Sourcery in a pre-commit hook: diff --git a/pyproject.toml b/pyproject.toml index 0a13695..22e2d57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,8 +96,8 @@ ignore = [ "docs/source/conf.py" = ["A001", "E501"] "pythonbible/__init__.py" = ["F401"] "pythonbible/bible/bible.py" = ["PLR0913", "FBT"] -"pythonbible/books.py" = ["ARG003", "PYI034"] -"pythonbible/book_groups.py" = ["ARG003", "PYI034"] +"pythonbible/books.py" = ["ARG003", "ARG004", "PYI034"] +"pythonbible/book_groups.py" = ["ARG003", "ARG004", "PYI034"] "pythonbible/counters/book_counter.py" = ["TCH001"] "pythonbible/counters/chapter_counter.py" = ["TCH001"] "pythonbible/counters/verse_counter.py" = ["TCH001"] @@ -105,7 +105,7 @@ ignore = [ "pythonbible/formatter.py" = ["A005", "ANN401", "FBT", "PLR0911"] "pythonbible/parser.py" = ["A005", "PLR2004"] "pythonbible/roman_numeral_util.py" = ["E741"] -"pythonbible/versions.py" = ["ARG003", "PYI034"] +"pythonbible/versions.py" = ["ARG003", "ARG004", "PYI034"] "tests/*.py" = ["D100", "D103", "D104", "PLR2004", "S101", "TRY301"] "tests/conftest.py" = ["E501", "RUF"] "tests/errors_test.py" = ["PT017"]