ruff/crates/ruff_linter/src
Steve C 0c0d3db1b5
[`flake8-bugbear`] Add fix for `duplicate-value` (`B033`) (#9510)
## Summary

Adds autofix for
[B033](https://docs.astral.sh/ruff/rules/duplicate-value/)

## Test Plan

`cargo test`
2024-01-14 23:20:16 +00:00
..
checkers [`flake8-bugbear`] Add fix for `duplicate-value` (`B033`) (#9510) 2024-01-14 23:20:16 +00:00
comments Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
cst Update string nodes for implicit concatenation (#7927) 2023-11-24 17:55:41 -06:00
docstrings Disambiguate argument descriptors from section headers (#9427) 2024-01-07 22:41:00 -05:00
fix Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
importer Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
lex Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
message Feature: Add SARIF output support (#9078) 2023-12-13 00:33:19 -05:00
registry `--show-settings` displays active settings in a far more readable format (#9464) 2024-01-12 14:30:29 -05:00
rules [`flake8-bugbear`] Add fix for `duplicate-value` (`B033`) (#9510) 2024-01-14 23:20:16 +00:00
settings `--show-settings` displays active settings in a far more readable format (#9464) 2024-01-12 14:30:29 -05:00
snapshots Allow transparent cell magics (#8911) 2023-12-07 14:15:43 -06:00
codes.rs [`flake8-simplify`] Implement `enumerate-for-loop` (`SIM113`) (#7777) 2024-01-14 11:00:59 -05:00
directives.rs Use `comment_ranges` for isort directive extraction (#9414) 2024-01-06 16:05:13 -05:00
doc_lines.rs Split `Constant` to individual literal nodes (#8064) 2023-10-30 12:13:23 +05:30
fs.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
lib.rs Rename `Autofix` to `Fix` (#7657) 2023-09-28 10:53:05 +00:00
line_width.rs `--show-settings` displays active settings in a far more readable format (#9464) 2024-01-12 14:30:29 -05:00
linter.rs Add cell indexes to all diagnostics (#9387) 2024-01-04 14:02:23 +00:00
logging.rs Use `DisplayParseError` for stdin parser errors (#9409) 2024-01-06 15:28:12 +00:00
noqa.rs add instructions on line-level suppression to file-level suppression warning (#8052) 2023-10-18 18:46:59 -04:00
packaging.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
pyproject_toml.rs Update pyproject-toml to 0.8 (#8351) 2023-10-30 10:05:37 +00:00
registry.rs [`pylint`] Implement `empty-comment` (`PLR2044`) (#9174) 2023-12-29 02:53:56 +00:00
renamer.rs Add a `BindingKind` for `WithItem` variables (#8594) 2023-11-09 22:44:49 -05:00
rule_redirects.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
rule_selector.rs Remove `unreachable-code` feature (#9463) 2024-01-11 20:24:57 -05:00
source_kind.rs Use `SourceKind::diff` for formatter (#8240) 2023-10-26 11:08:13 +05:30
test.rs Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
upstream_categories.rs Misc. small tweaks from perusing modules (#9383) 2024-01-03 12:30:25 -05:00