ruff/crates/ruff_linter/src
Victor Hugo Gomes 04dc48e17c
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 / Fuzz for new ty panics (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
[ty Playground] Release / publish (push) Waiting to run
[refurb] Fix FURB129 autofix generating invalid syntax (#18235)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

Fixes #18231

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan

Snapshot tests
<!-- How was it tested? -->
2025-05-28 17:01:03 -04:00
..
checkers [pylint] Implement missing-maxsplit-arg (PLC0207) (#17454) 2025-05-28 20:46:30 +00:00
comments Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
cst Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
docstrings Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
fix Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
importer Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
message Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
registry Use #[expect(lint)] over #[allow(lint)] where possible (#17822) 2025-05-03 21:20:31 +02:00
rules [refurb] Fix FURB129 autofix generating invalid syntax (#18235) 2025-05-28 17:01:03 -04:00
settings Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
snapshots [semantic-syntax-tests] IrrefutableCasePattern, SingleStarredAssignment, WriteToDebug, InvalidExpression (#17748) 2025-05-09 14:54:05 -04:00
codes.rs [pylint] Implement missing-maxsplit-arg (PLC0207) (#17454) 2025-05-28 20:46:30 +00:00
diagnostic.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
directives.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
doc_lines.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
fs.rs Escape template filenames in glob patterns (#16407) 2025-03-03 09:29:58 -05:00
lib.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
line_width.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
linter.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
locator.rs Split SourceLocation into LineColumn and SourceLocation (#17587) 2025-04-27 11:27:33 +01:00
logging.rs Use #[expect(lint)] over #[allow(lint)] where possible (#17822) 2025-05-03 21:20:31 +02:00
noqa.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
package.rs Detect empty implicit namespace packages (#14236) 2024-11-09 22:03:34 -05:00
packaging.rs Nested namespace packages support (#10541) 2024-03-24 22:53:32 -04:00
preview.rs [flake8-simplify] enable fix in preview mode (SIM117) (#18208) 2025-05-20 08:34:50 -05:00
pyproject_toml.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
registry.rs Sort linters alphabetically (#16168) 2025-02-14 22:05:08 +01:00
renamer.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04: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 Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
source_kind.rs Update MSRV to 1.85 and toolchain to 1.87 (#18126) 2025-05-16 09:19:55 +02:00
test.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
text_helpers.rs Handle non-printable characters in diff view (#11687) 2024-06-08 06:22:03 +00:00
upstream_categories.rs Fix pylint upstream categories not showing in docs (#10441) 2024-03-18 01:27:39 +00:00
violation.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00