Skip to content

Commit aa59b6f

Browse files
fix(deps): update ruff rust to v0.14.4 (patch) (#1335)
* fix(deps): update ruff rust to v0.14.4 * test: adapt error message to parser changes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mathieu Kniewallner <[email protected]>
1 parent 87a6b87 commit aa59b6f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ pyo3 = { version = "=0.27.1", features = ["abi3-py39", "generate-import-lib"] }
1919
pyo3-log = "=0.13.2"
2020
rayon = "=1.11.0"
2121
regex = "=1.12.2"
22-
ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.14.3" }
23-
ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.14.3" }
24-
ruff_source_file = { git = "https://github.com/astral-sh/ruff", tag = "0.14.3" }
25-
ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "0.14.3" }
22+
ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.14.4" }
23+
ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.14.4" }
24+
ruff_source_file = { git = "https://github.com/astral-sh/ruff", tag = "0.14.4" }
25+
ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "0.14.4" }
2626
serde_json = "=1.0.145"
2727

2828
[profile.release]

tests/unit/imports/test_extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_import_parser_for_ipynb_errors(tmp_path: Path, caplog: LogCaptureFixtur
205205
]) == {"numpy": [Location(file=Path("notebook_ok.ipynb"), line=1, column=8)]}
206206

207207
assert re.search(
208-
r"WARNING .*:shared.rs:\d+ Warning: Skipping processing of notebook_with_syntax_error.ipynb because of the following error: \"SyntaxError: Expected ',', found name at byte range 9..23\".",
208+
r"WARNING .*:shared.rs:\d+ Warning: Skipping processing of notebook_with_syntax_error.ipynb because of the following error: \"SyntaxError: Expected `,`, found name at byte range 9..23\".",
209209
caplog.text,
210210
)
211211

0 commit comments

Comments
 (0)