Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#503)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7](astral-sh/ruff-pre-commit@v0.6.5...v0.6.7)
- [github.com/PyCQA/pylint: v3.2.7 → v3.3.0](pylint-dev/pylint@v3.2.7...v3.3.0)

* Ignore too-many-positional-arguments

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kiran Jonnalagadda <kiran@hasgeek.com>
  • Loading branch information
pre-commit-ci[bot] and jace authored Sep 24, 2024
1 parent 4352dc7 commit b14e0c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down Expand Up @@ -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: [
Expand Down
27 changes: 14 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b14e0c8

Please sign in to comment.