ruff/crates/ruff_linter/resources/test/fixtures/pycodestyle
Dhruv Manilawala 47b227394e
Avoid `E275` if keyword is followed by a semicolon (#12095)
fixes: #12094
2024-06-28 20:51:35 +05:30
..
.editorconfig [`pycodestyle`] Respect `isort` settings in blank line rules (`E3*`) (#10096) 2024-03-05 10:09:15 +00:00
E2_syntax_error.py [`pycodestyle`] Do not trigger `E225` and `E275` when the next token is a ')' (#10315) 2024-03-11 21:23:18 +00:00
E11.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E20.py Avoid `E203` for f-string debug expression (#12024) 2024-06-25 15:00:31 +05:30
E21.py Avoid un-setting bracket flag in logical lines (#8380) 2023-10-31 10:30:15 -04:00
E22.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E23.py Avoid syntax errors for test cases (#11923) 2024-06-18 17:16:27 +05:30
E24.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E25.py Fix `E251` false positive inside f-strings (#7894) 2023-10-12 05:26:39 +00:00
E26.py Add fix for comment-related whitespace rules (#9075) 2023-12-09 15:18:07 -05:00
E27.py Avoid `E275` if keyword is followed by a semicolon (#12095) 2024-06-28 20:51:35 +05:30
E30.ipynb [`pycodestyle`] Avoid blank line rules for the first logical line in cell (#10291) 2024-03-25 11:19:30 +00:00
E30.py Avoid syntax errors for test cases (#11923) 2024-06-18 17:16:27 +05:30
E30.pyi [`pycodestyle`]: Make blank lines in typing stub files optional (`E3*`) (#10098) 2024-03-05 12:48:50 +01:00
E30_isort.py [`pycodestyle`] Respect `isort` settings in blank line rules (`E3*`) (#10096) 2024-03-05 10:09:15 +00:00
E30_isort.pyi [`pycodestyle`]: Make blank lines in typing stub files optional (`E3*`) (#10098) 2024-03-05 12:48:50 +01:00
E40.py [`pycodestyle`] Add fix for `multiple-imports-on-one-line` (`E401`) (#9518) 2024-01-21 15:33:38 -05:00
E70.py Allow collapsed-ellipsis bodies in other statements (#8499) 2023-11-05 19:42:34 -05:00
E101.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E302_first_line_docstring.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E302_first_line_expression.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E302_first_line_function.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E302_first_line_statement.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E303_first_line_comment.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E303_first_line_docstring.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E303_first_line_expression.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E303_first_line_statement.py [`pycodestyle`] Do not ignore lines before the first logical line in blank lines rules (#10382) 2024-03-14 14:05:24 +05:30
E402.ipynb [`E402`] Allow cell magics before an import (#10545) 2024-03-24 16:20:00 +05:30
E402_0.py Remove special pre-visit for module docstrings (#9261) 2023-12-23 10:03:12 -05:00
E402_1.py Remove special pre-visit for module docstrings (#9261) 2023-12-23 10:03:12 -05:00
E402_2.py [`pycodestyle`] Allow `os.environ` modifications between imports (`E402`) (#10066) 2024-02-20 13:24:27 -05:00
E501.py Allow SPDX license headers to exceed the line length (#10481) 2024-03-19 15:57:03 -04:00
E501_1.py Ignore overlong pragma comments when enforcing linter line length (#7692) 2023-09-29 23:26:52 +00:00
E501_2.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E501_3.py Ignore overlong pragma comments when enforcing linter line length (#7692) 2023-09-29 23:26:52 +00:00
E502.py [`pycodestyle`] Implement `redundant-backslash` (`E502`) (#10292) 2024-03-11 21:15:06 -04:00
E703.ipynb Avoid `E703` for last expression in a cell (#8821) 2023-11-23 07:40:57 -06:00
E711.py Avoid infinite loop in constant vs. `None` comparisons (#9376) 2024-01-02 22:04:52 -05:00
E712.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E713.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E714.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E721.py Improve handling of builtin symbols in linter rules (#10919) 2024-04-16 11:37:31 +01:00
E722.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E731.py Ignore annotated lambdas in class scopes (#10720) 2024-04-01 15:44:45 -04:00
E741.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E742.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
E743.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W19.py Avoid syntax errors for test cases (#11923) 2024-06-18 17:16:27 +05:30
W29.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W291.py Index multiline f-strings (#9837) 2024-02-05 21:25:33 -05:00
W292_0.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W292_1.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W292_2.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W292_3.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W292_4.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
W293.py Do multiline string test for W293 too (#10049) 2024-02-19 11:58:56 +00:00
W391_0.py [`pycodestyle`] Implement `blank-line-at-end-of-file` (`W391`) (#10243) 2024-03-11 22:07:59 -04:00
W391_1.py [`pycodestyle`] Implement `blank-line-at-end-of-file` (`W391`) (#10243) 2024-03-11 22:07:59 -04:00
W391_2.py [`pycodestyle`] Implement `blank-line-at-end-of-file` (`W391`) (#10243) 2024-03-11 22:07:59 -04:00
W391_3.py [`pycodestyle`] Implement `blank-line-at-end-of-file` (`W391`) (#10243) 2024-03-11 22:07:59 -04:00
W391_4.py [`pycodestyle`] Implement `blank-line-at-end-of-file` (`W391`) (#10243) 2024-03-11 22:07:59 -04:00
W505.py Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
W505_utf_8.py Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
W605_0.py Treat escaped newline as valid sequence (#11465) 2024-05-19 03:32:32 +00:00
W605_1.py Consider raw source code for `W605` (#10480) 2024-03-20 00:16:35 +05:30
constant_literals.py Add check for is comparison with mutable initialisers to rule F632 (#8607) 2023-11-11 00:29:23 +00:00
shebang.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00