Skip to content

Commit 8627381

Browse files
[pre-commit.ci] pre-commit autoupdate (#6958)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 8b9ba8a commit 8627381

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: trailing-whitespace
2020

2121
- repo: https://github.com/python-jsonschema/check-jsonschema
22-
rev: 0.23.1
22+
rev: 0.23.2
2323
hooks:
2424
- id: check-github-workflows
2525

@@ -28,8 +28,8 @@ repos:
2828
hooks:
2929
- id: black
3030

31-
- repo: https://github.com/charliermarsh/ruff-pre-commit
32-
rev: v0.0.270
31+
- repo: https://github.com/astral-sh/ruff-pre-commit
32+
rev: v0.0.276
3333
hooks:
3434
- id: ruff
3535
args: ["--fix"]

pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ dependencies = [
144144
"black[jupyter]==22.10.0",
145145
"mdformat>0.7",
146146
"mdformat-gfm>=0.3.5",
147-
"ruff==0.0.263"
147+
"ruff==0.0.276"
148148
]
149149
detached = true
150150
[tool.hatch.envs.lint.scripts]
@@ -266,6 +266,8 @@ ignore = [
266266
"FBT001", "FBT002", "FBT003",
267267
# C408 Unnecessary `dict` call (rewrite as a literal)
268268
"C408", "C416",
269+
# RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
270+
"RUF012",
269271
]
270272

271273
[tool.ruff.per-file-ignores]

0 commit comments

Comments
 (0)