ruff/crates/ruff_linter/src
Hans d2ebfd6ed7
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
[pyflakes] Add fix safety section (F841) (#17410)
add fix safety section to docs for #15584, I'm new to ruff and not sure
if the content of this PR is correct, but I hope it can be helpful.

---------

Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
2025-04-17 09:58:26 -04:00
..
checkers [airflow] Extract AIR311 from AIR301 rules (AIR301, AIR311) (#17310) 2025-04-16 11:06:57 -04:00
comments Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
cst
docstrings bump MSRV to 1.83 (#16294) 2025-02-26 06:12:43 -08:00
fix Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171) 2025-04-03 15:59:44 +00:00
importer Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15719) 2025-02-06 14:45:12 +01:00
message [pyflakes] Add fix safety section (F841) (#17410) 2025-04-17 09:58:26 -04:00
registry Increase rule set size (#14689) 2024-11-30 15:12:10 +01:00
rules [pyflakes] Add fix safety section (F841) (#17410) 2025-04-17 09:58:26 -04:00
settings Escape template filenames in glob patterns (#16407) 2025-03-03 09:29:58 -05:00
snapshots [syntax-errors] return outside function (#17300) 2025-04-11 17:05:54 +00:00
codes.rs [airflow] Extract AIR311 from AIR301 rules (AIR301, AIR311) (#17310) 2025-04-16 11:06:57 -04:00
directives.rs Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171) 2025-04-03 15:59:44 +00:00
doc_lines.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
fs.rs Escape template filenames in glob patterns (#16407) 2025-03-03 09:29:58 -05:00
lib.rs Detect empty implicit namespace packages (#14236) 2024-11-09 22:03:34 -05:00
line_width.rs
linter.rs [syntax-errors] return outside function (#17300) 2025-04-11 17:05:54 +00:00
locator.rs test: another update to add back a caret 2025-01-15 13:37:52 -05:00
logging.rs dependencies: switch from chrono to jiff 2025-04-15 07:47:55 -04:00
noqa.rs Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171) 2025-04-03 15:59:44 +00:00
package.rs Detect empty implicit namespace packages (#14236) 2024-11-09 22:03:34 -05:00
packaging.rs
pyproject_toml.rs
registry.rs Sort linters alphabetically (#16168) 2025-02-14 22:05:08 +01:00
renamer.rs Add per-file-target-version option (#16257) 2025-02-24 08:47:13 -05:00
rule_redirects.rs [flake8-bandit] Move unsafe-markup-use from RUF035 to S704 (#15957) 2025-03-13 15:37:37 +01:00
rule_selector.rs Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171) 2025-04-03 15:59:44 +00:00
source_kind.rs Simplify iteration idioms (#13834) 2024-10-20 22:25:27 +01:00
test.rs [internal] Return Messages from check_path (#16837) 2025-03-19 10:08:07 -04:00
text_helpers.rs
upstream_categories.rs