Skip to content

Commit c72387f

Browse files
[pre-commit.ci] pre-commit autoupdate (#417)
<!--pre-commit.ci start--> updates: - [github.com/MarcoGorelli/auto-walrus: 0.3.4 → 0.4.1](MarcoGorelli/auto-walrus@0.3.4...0.4.1) - [github.com/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.14](astral-sh/ruff-pre-commit@v0.14.6...v0.14.14) - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.12.1](tox-dev/pyproject-fmt@v2.11.1...v2.12.1) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 5764149 commit c72387f

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
exclude: samples
4646

4747
- repo: https://github.com/MarcoGorelli/auto-walrus
48-
rev: 0.3.4
48+
rev: 0.4.1
4949
hooks:
5050
- id: auto-walrus
5151

@@ -59,13 +59,13 @@ repos:
5959
- tomli
6060

6161
- repo: https://github.com/astral-sh/ruff-pre-commit
62-
rev: v0.14.6
62+
rev: v0.15.2
6363
hooks:
6464
- id: ruff-check
6565
- id: ruff-format
6666

6767
- repo: https://github.com/tox-dev/pyproject-fmt
68-
rev: v2.11.1
68+
rev: v2.12.1
6969
hooks:
7070
- id: pyproject-fmt
7171

pyproject.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ maintainers = [
1414
{ name = "John Vandenberg", email = "jayvdb@gmail.com" },
1515
]
1616
authors = [
17-
{ name = "Google Inc." },
18-
{ name = "Thibault Kruse" },
1917
{ name = "Andrew Davis", email = "theandrewdavis@gmail.com" },
2018
{ name = "cpplint developers" },
19+
{ name = "Google Inc." },
20+
{ name = "Thibault Kruse" },
2121
]
2222
requires-python = ">=3.9"
2323
classifiers = [
@@ -156,6 +156,22 @@ include-naming-hint = true
156156
method-rgx = "[A-Z_][A-Za-z0-9]{2,49}$|__init__|__str__|__contains__"
157157
variable-rgx = "[a-z_][a-z0-9_]{0,49}$"
158158

159+
[tool.pylint.design]
160+
max-args = 20
161+
max-attributes = 10
162+
max-bool-expr = 10
163+
max-branches = 30
164+
max-line-length = 100
165+
max-locals = 25
166+
max-returns = 10
167+
max-statements = 79
168+
min-public-methods = 0
169+
170+
[tool.pylint.format]
171+
indent-after-paren = 4
172+
indent-string = ' '
173+
max-module-lines = 10000
174+
159175
[tool.pylint.messages-control]
160176
disable = [
161177
"anomalous-unicode-escape-in-string",
@@ -182,22 +198,6 @@ output-format = "colorized"
182198
reports = false
183199
score = false
184200

185-
[tool.pylint.format]
186-
indent-after-paren = 4
187-
indent-string = ' '
188-
max-module-lines = 10000
189-
190-
[tool.pylint.design]
191-
max-args = 20
192-
max-attributes = 10
193-
max-bool-expr = 10
194-
max-branches = 30
195-
max-line-length = 100
196-
max-locals = 25
197-
max-returns = 10
198-
max-statements = 79
199-
min-public-methods = 0
200-
201201
[tool.pytest.ini_options]
202202
# fail if coverage is under 89%
203203
addopts = "--color=yes --cov-fail-under=89 --cov=cpplint"

0 commit comments

Comments
 (0)