Skip to content

Commit 1abb019

Browse files
authored
Clean up lint (ipython#1134)
1 parent 9433579 commit 1abb019

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
pip freeze
138138
139139
- name: Run the tests
140-
timeout-minutes: 10
140+
timeout-minutes: 15
141141
run: pytest -W default -vv || pytest --vv -W default --lf
142142

143143
test_miniumum_versions:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
- id: black
3737

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

ipykernel/debugger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ async def richInspectVariables(self, message):
657657
}
658658
)
659659
if reply["success"]:
660-
repr_data, repr_metadata = eval(reply["body"]["result"], {}, {})
660+
repr_data, repr_metadata = eval(reply["body"]["result"], {}, {}) # noqa[S307]
661661

662662
body = {
663663
"data": repr_data,

ipykernel/pickleutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_object(self, g=None):
179179
if g is None:
180180
g = {}
181181

182-
return eval(self.name, g)
182+
return eval(self.name, g) # noqa[S307]
183183

184184

185185
class CannedCell(CannedObject):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ dependencies = ["mypy>=0.990"]
117117
test = "mypy --install-types --non-interactive {args:.}"
118118

119119
[tool.hatch.envs.lint]
120-
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.270"]
120+
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.278"]
121121
detached = true
122122
[tool.hatch.envs.lint.scripts]
123123
style = [

0 commit comments

Comments
 (0)