ruff/crates/ruff_linter/src
yunchi ce0800fccf
[`pylint`] add fix safety section (`PLC2801`) (#17825)
parent: #15584 
fix was introduced at: #9587 
reasoning: #9572
2025-05-07 14:34:34 -04:00
..
checkers Default to latest supported Python version for version-related syntax errors (#17529) 2025-05-06 10:19:13 -04:00
comments Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
cst Wrap expressions in parentheses when negating (#10346) 2024-03-11 18:20:55 -04:00
docstrings Use `#[expect(lint)]` over `#[allow(lint)]` where possible (#17822) 2025-05-03 21:20:31 +02:00
fix Use `#[expect(lint)]` over `#[allow(lint)]` where possible (#17822) 2025-05-03 21:20:31 +02:00
importer Recognize all symbols named `TYPE_CHECKING` for `in_type_checking_block` (#15719) 2025-02-06 14:45:12 +01:00
message [`isort`] Check full module path against project root(s) when categorizing first-party (#16565) 2025-05-05 11:40:01 -05:00
registry Use `#[expect(lint)]` over `#[allow(lint)]` where possible (#17822) 2025-05-03 21:20:31 +02:00
rules [`pylint`] add fix safety section (`PLC2801`) (#17825) 2025-05-07 14:34:34 -04:00
settings Default to latest supported Python version for version-related syntax errors (#17529) 2025-05-06 10:19:13 -04:00
snapshots [semantic-syntax-tests] Add test fixtures for `AwaitOutsideAsyncFunction` (#17785) 2025-05-05 14:02:06 -04:00
codes.rs Add new rule InEmptyCollection (#16480) 2025-05-06 13:52:07 +00: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 Collect preview lint behaviors in separate module (#17646) 2025-04-28 09:12:24 -05:00
line_width.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
linter.rs Default to latest supported Python version for version-related syntax errors (#17529) 2025-05-06 10:19:13 -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 Use `#[expect(lint)]` over `#[allow(lint)]` where possible (#17822) 2025-05-03 21:20:31 +02: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 [`isort`] Check full module path against project root(s) when categorizing first-party (#16565) 2025-05-05 11:40:01 -05:00
pyproject_toml.rs Update pyproject-toml to 0.8 (#8351) 2023-10-30 10:05:37 +00:00
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 Use `#[expect(lint)]` over `#[allow(lint)]` where possible (#17822) 2025-05-03 21:20:31 +02:00
source_kind.rs Simplify iteration idioms (#13834) 2024-10-20 22:25:27 +01:00
test.rs Default to latest supported Python version for version-related syntax errors (#17529) 2025-05-06 10:19:13 -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