diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8781622d5..79951fc7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d8bc369e..7d76f02c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] diff --git a/ipykernel/debugger.py b/ipykernel/debugger.py index b59ad476f..0fe68afb3 100644 --- a/ipykernel/debugger.py +++ b/ipykernel/debugger.py @@ -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, diff --git a/ipykernel/pickleutil.py b/ipykernel/pickleutil.py index 80f0c9a0b..ec58c6795 100644 --- a/ipykernel/pickleutil.py +++ b/ipykernel/pickleutil.py @@ -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): diff --git a/pyproject.toml b/pyproject.toml index 354f8438b..69c93d853 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [