Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,22 @@ repos:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.1
rev: v0.16.6
hooks:
- id: ruff-check
- id: ruff-format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.26.0
rev: v2.29.3
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
rev: '0.26'
hooks:
- id: validate-pyproject

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.29.0
rev: v1.30.0
hooks:
- id: zizmor
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ lint.pylint.max-returns = 9 # Default is 9
lint.pylint.max-statements = 79 # Default is 50

[tool.pylint]
[tool.pylint.reports]
output-format = "colorized"
reports = false
score = false

[tool.pylint.basic]
argument-rgx = "[a-z_][a-z0-9_]{0,49}$"
class-rgx = "[A-Z_][a-zA-Z0-9]+$"
Expand All @@ -155,6 +160,11 @@ include-naming-hint = true
method-rgx = "[A-Z_][A-Za-z0-9]{2,49}$|__init__|__str__|__contains__"
variable-rgx = "[a-z_][a-z0-9_]{0,49}$"

[tool.pylint.format]
indent-after-paren = 4
indent-string = " "
max-module-lines = 10000

[tool.pylint.design]
max-args = 20
max-attributes = 10
Expand All @@ -166,11 +176,6 @@ max-returns = 10
max-statements = 79
min-public-methods = 0

[tool.pylint.format]
indent-after-paren = 4
indent-string = " "
max-module-lines = 10000

[tool.pylint.messages-control]
disable = [
"anomalous-unicode-escape-in-string",
Expand All @@ -192,11 +197,6 @@ disable = [
"useless-object-inheritance",
]

[tool.pylint.reports]
output-format = "colorized"
reports = false
score = false

[tool.pyproject-fmt]
expand_tables = [ "tool.pylint" ]

Expand Down