Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up lint #1134

Merged
merged 2 commits into from Jul 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
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
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
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
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
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