Skip to content

Commit 0301889

Browse files
Port over some fixes from astral-sh#3747 (astral-sh#5940)
1 parent b3d3102 commit 0301889

File tree

11 files changed

+2
-3
lines changed

11 files changed

+2
-3
lines changed

crates/ruff/src/rules/flake8_builtins/rules/rules.rs

-1
This file was deleted.

crates/ruff/src/rules/pygrep_hooks/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mod tests {
2323
fn rules(rule_code: Rule, path: &Path) -> Result<()> {
2424
let snapshot = format!("{}_{}", rule_code.noqa_code(), path.to_string_lossy());
2525
let diagnostics = test_path(
26-
Path::new("pygrep-hooks").join(path).as_path(),
26+
Path::new("pygrep_hooks").join(path).as_path(),
2727
&settings::Settings::for_rule(rule_code),
2828
)?;
2929
assert_messages!(snapshot, diagnostics);

scripts/add_plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
python scripts/add_plugin.py \
77
flake8-pie \
8-
--url https://pypi.org/project/flake8-pie/
8+
--url https://pypi.org/project/flake8-pie/ \
99
--prefix PIE
1010
"""
1111
from __future__ import annotations

0 commit comments

Comments
 (0)