File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 21
21
- id : trailing-whitespace
22
22
23
23
- repo : https://github.com/python-jsonschema/check-jsonschema
24
- rev : 0.23.1
24
+ rev : 0.23.2
25
25
hooks :
26
26
- id : check-github-workflows
27
27
35
35
hooks :
36
36
- id : black
37
37
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
40
40
hooks :
41
41
- id : ruff
42
42
args : ["--fix"]
Original file line number Diff line number Diff line change 9
9
if __name__ == "__main__" :
10
10
# Remove the CWD from sys.path while we load stuff.
11
11
# This is added back by InteractiveShellApp.init_path()
12
- if sys .path [0 ] == "" : # noqa
12
+ if sys .path [0 ] == "" :
13
13
del sys .path [0 ]
14
14
15
15
from ipykernel import kernelapp as app
Original file line number Diff line number Diff line change @@ -278,6 +278,8 @@ ignore = [
278
278
" SIM105" ,
279
279
# S110 `try`-`except`-`pass` detected
280
280
" S110" ,
281
+ # RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
282
+ " RUF012" ,
281
283
]
282
284
unfixable = [
283
285
# Don't touch print statements
You can’t perform that action at this time.
0 commit comments