Skip to content

Commit 9433579

Browse files
[pre-commit.ci] pre-commit autoupdate (ipython#1131)
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 1270d5a commit 9433579

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.23.1
24+
rev: 0.23.2
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -35,8 +35,8 @@ repos:
3535
hooks:
3636
- id: black
3737

38-
- repo: https://github.com/charliermarsh/ruff-pre-commit
39-
rev: v0.0.270
38+
- repo: https://github.com/astral-sh/ruff-pre-commit
39+
rev: v0.0.276
4040
hooks:
4141
- id: ruff
4242
args: ["--fix"]

ipykernel_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if __name__ == "__main__":
1010
# Remove the CWD from sys.path while we load stuff.
1111
# This is added back by InteractiveShellApp.init_path()
12-
if sys.path[0] == "": # noqa
12+
if sys.path[0] == "":
1313
del sys.path[0]
1414

1515
from ipykernel import kernelapp as app

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ ignore = [
278278
"SIM105",
279279
# S110 `try`-`except`-`pass` detected
280280
"S110",
281+
# RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
282+
"RUF012",
281283
]
282284
unfixable = [
283285
# Don't touch print statements

0 commit comments

Comments
 (0)