ruff/crates/ruff_linter/src
Charlie Marsh f419af494f
Allow Boolean positionals in setters (#9429)
## Summary

Ignores Boolean trap enforcement for methods that appear to be setters
(as in the Qt and pygame APIs).

Closes https://github.com/astral-sh/ruff/issues/9287.
Closes https://github.com/astral-sh/ruff/issues/8923.
2024-01-08 13:02:16 -05:00
..
checkers Allow Boolean positionals in setters (#9429) 2024-01-08 13:02:16 -05: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 [flake8-bandit] Add S504 SslWithNoVersion rule (#9384) 2024-01-03 21:56:41 +00:00
rules Allow Boolean positionals in setters (#9429) 2024-01-08 13:02:16 -05:00
settings Add target_version to formatter options (#9220) 2023-12-21 04:05:58 +00:00
snapshots Allow transparent cell magics (#8911) 2023-12-07 14:15:43 -06:00
codes.rs [flake8-bandit] Implement S503 SslWithBadDefaults rule (#9391) 2024-01-05 01:38:41 +00: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 Rename tab-size to indent-width (#8082) 2023-10-24 10:01:24 -04: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 Add explicit-preview-rules to toggle explicit selection of preview rules (#7390) 2023-09-28 15:00:33 -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