We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7f721 commit 83b51a6Copy full SHA for 83b51a6
.pre-commit-config.yaml
@@ -74,7 +74,7 @@ repos:
74
- id: rst-inline-touching-normal
75
76
- repo: https://github.com/astral-sh/ruff-pre-commit
77
- rev: v0.9.10
+ rev: v0.11.0
78
hooks:
79
- id: ruff
80
types_or: [python, jupyter]
ipykernel/kernelbase.py
@@ -70,7 +70,7 @@
70
71
def _accepts_parameters(meth, param_names):
72
parameters = inspect.signature(meth).parameters
73
- accepts = {param: False for param in param_names}
+ accepts = dict.fromkeys(param_names, False)
for param in param_names:
param_spec = parameters.get(param)
0 commit comments