ruff/crates/ruff_linter/src
Charlie Marsh aa5c53b38b
Remove 'non-obvious' allowance for E721 (#12300)
## Summary

I don't fully understand the purpose of this. In #7905, it was just
copied over from the previous non-preview implementation. But it means
that (e.g.) we don't treat `type(self.foo)` as a type -- which is wrong.

Closes https://github.com/astral-sh/ruff/issues/12290.
2024-07-12 09:21:43 -04:00
..
checkers Treat not operations as boolean tests (#12301) 2024-07-12 08:53:37 -04:00
comments
cst Wrap expressions in parentheses when negating (#10346) 2024-03-11 18:20:55 -04:00
docstrings [pydocstyle-D405] Allow using parameters as a sub-section header (#9894) 2024-02-08 21:54:32 -05:00
fix Use CompactString for Identifier (#12101) 2024-07-01 10:06:02 +02:00
importer Use CompactString for Identifier (#12101) 2024-07-01 10:06:02 +02:00
message Remove E999 as a rule, disallow any disablement methods for syntax error (#11901) 2024-06-27 13:44:11 +02:00
registry Upgrade to Rust 1.79 (#11875) 2024-06-17 07:15:10 +01:00
rules Remove 'non-obvious' allowance for E721 (#12300) 2024-07-12 09:21:43 -04:00
settings Make requires-python inference robust to == (#12091) 2024-06-28 09:38:17 -04:00
snapshots [ruff] Implement redirected-noqa (RUF101) (#11052) 2024-04-27 02:08:11 +00:00
codes.rs [flake8-async] Update ASYNC116 to match upstream (#12266) 2024-07-10 09:58:33 +02:00
directives.rs Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
doc_lines.rs Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
fs.rs Struct not tuple for compiled per-file ignores (#10864) 2024-04-11 13:47:57 -06:00
lib.rs Remove E999 as a rule, disallow any disablement methods for syntax error (#11901) 2024-06-27 13:44:11 +02:00
line_width.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
linter.rs Disable auto-fix when source has syntax errors (#12134) 2024-07-02 14:22:51 +05:30
logging.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
noqa.rs Remove E999 as a rule, disallow any disablement methods for syntax error (#11901) 2024-06-27 13:44:11 +02:00
packaging.rs Nested namespace packages support (#10541) 2024-03-24 22:53:32 -04:00
pyproject_toml.rs Update pyproject-toml to 0.8 (#8351) 2023-10-30 10:05:37 +00:00
registry.rs Re-code flake8-trio and flake8-async rules to match upstream (#10416) 2024-06-27 13:44:11 +02:00
renamer.rs Propagate reads on global variables (#11584) 2024-05-28 14:47:05 -04:00
rule_redirects.rs Re-code flake8-trio and flake8-async rules to match upstream (#10416) 2024-06-27 13:44:11 +02:00
rule_selector.rs Added ignoring deprecated rules for --select=ALL (#10497) 2024-06-27 13:44:11 +02:00
source_kind.rs Handle non-printable characters in diff view (#11687) 2024-06-08 06:22:03 +00:00
test.rs Disable auto-fix when source has syntax errors (#12134) 2024-07-02 14:22:51 +05:30
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