diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56176888..61bbbc87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: hooks: - id: check-pre-commit-ci-config - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.5 + rev: v0.6.7 hooks: - id: ruff args: ['--fix', '--exit-non-zero-on-fix'] @@ -71,7 +71,7 @@ repos: - id: flake8 additional_dependencies: *flake8deps - repo: https://github.com/PyCQA/pylint - rev: v3.2.7 + rev: v3.3.0 hooks: - id: pylint args: [ diff --git a/pyproject.toml b/pyproject.toml index cd9a00bd..678f3f9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -144,26 +144,27 @@ for path in pathlib.Path.cwd().parents: [tool.pylint.message_control] max-line-length = 88 disable = [ - 'cyclic-import', # We have tail imports all over - 'fixme', # Our workflow is to tag for future fixes - 'invalid-name', # Flake8 covers our naming convention requirements - 'line-too-long', # Let Black/Ruff handle this - 'missing-class-docstring', # Backlog - 'missing-function-docstring', # Backlog - 'no-member', # Pylint doesn't understand mixins referring to main class members - 'redefined-builtin', # Covered by Flake8 already - 'too-few-public-methods', # Data classes and validator classes have few methods + 'cyclic-import', # We have tail imports all over + 'fixme', # Our workflow is to tag for future fixes + 'invalid-name', # Flake8 covers our naming convention requirements + 'line-too-long', # Let Black/Ruff handle this + 'missing-class-docstring', # Backlog + 'missing-function-docstring', # Backlog + 'no-member', # Pylint doesn't understand mixins referring to main class members + 'redefined-builtin', # Covered by Flake8 already + 'too-few-public-methods', # Data classes and validator classes have few methods 'too-many-arguments', 'too-many-branches', 'too-many-locals', - 'too-many-instance-attributes', # Some instances are just bags of attributes + 'too-many-instance-attributes', # Some instances are just bags of attributes 'too-many-lines', 'too-many-nested-blocks', + 'too-many-positional-arguments', 'too-many-return-statements', 'too-many-statements', - 'unused-argument', # Arguments required for spec compatibility aren't always used - 'wrong-import-position', # Imports after code are sometimes required - 'wrong-import-order', # Let black and isort handle this + 'unused-argument', # Arguments required for spec compatibility aren't always used + 'wrong-import-position', # Imports after code are sometimes required + 'wrong-import-order', # Let black and isort handle this ] [tool.bandit]