Skip to content

Commit 8cd59e9

Browse files
pre-commit-ci[bot]jtpiofcollonval
authored
[pre-commit.ci] pre-commit autoupdate (jupyterlab#14101)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.249 → v0.0.253](astral-sh/ruff-pre-commit@v0.0.249...v0.0.253) * Align ruff dependency * Escape new rule --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jeremy Tuloup <[email protected]> Co-authored-by: Frédéric Collonval <[email protected]>
1 parent 00df609 commit 8cd59e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
- id: black
3636

3737
- repo: https://github.com/charliermarsh/ruff-pre-commit
38-
rev: v0.0.252
38+
rev: v0.0.253
3939
hooks:
4040
- id: ruff
4141
args: ["--fix"]

jupyterlab/semver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ def repl(mob): # noqa PLR0911
954954
else:
955955
ret = ">=" + M + "." + m + "." + (p or "") + pr + " <" + str(int(M) + 1) + ".0.0"
956956
else:
957-
if M == "0":
957+
if M == "0": # noqa PLR5501
958958
if m == "0":
959959
ret = (
960960
">="

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ dev = [
115115
"coverage",
116116
"hatch",
117117
"bump2version",
118-
"ruff==0.0.252",
118+
"ruff==0.0.253",
119119
"black[jupyter]==23.1.0"
120120
]
121121

0 commit comments

Comments
 (0)