Skip to content

Commit

Permalink
Clean up lint (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jul 16, 2023
1 parent 9433579 commit 1abb019
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
pip freeze
- name: Run the tests
timeout-minutes: 10
timeout-minutes: 15
run: pytest -W default -vv || pytest --vv -W default --lf

test_miniumum_versions:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
rev: v0.0.278
hooks:
- id: ruff
args: ["--fix"]
2 changes: 1 addition & 1 deletion ipykernel/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ async def richInspectVariables(self, message):
}
)
if reply["success"]:
repr_data, repr_metadata = eval(reply["body"]["result"], {}, {})
repr_data, repr_metadata = eval(reply["body"]["result"], {}, {}) # noqa[S307]

body = {
"data": repr_data,
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/pickleutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_object(self, g=None):
if g is None:
g = {}

return eval(self.name, g)
return eval(self.name, g) # noqa[S307]


class CannedCell(CannedObject):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ dependencies = ["mypy>=0.990"]
test = "mypy --install-types --non-interactive {args:.}"

[tool.hatch.envs.lint]
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.270"]
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.278"]
detached = true
[tool.hatch.envs.lint.scripts]
style = [
Expand Down

0 comments on commit 1abb019

Please sign in to comment.