ruff/crates/ruff_linter/resources/test/fixtures/pycodestyle
Vasco Schiavo 24bab7e82e
[pycodestyle] Exempt sys.path += ... calls (E402) (#15980)
## Summary

The PR addresses issue #15886 .
2025-02-06 08:51:51 +01:00
..
.editorconfig [pycodestyle] Respect isort settings in blank line rules (E3*) (#10096) 2024-03-05 10:09:15 +00:00
constant_literals.py Add check for is comparison with mutable initialisers to rule F632 (#8607) 2023-11-11 00:29:23 +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
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 [pycodestyle] Avoid false positives and negatives related to type parameter default syntax (E225, E251) (#15214) 2025-01-01 11:28:25 +01:00
E23.py [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (#13704) 2024-10-10 17:24:17 +01:00
E24.py
E25.py [pycodestyle] Avoid false positives related to type aliases (E252) (#15356) 2025-01-08 16:04:08 +01: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 followed by comma (#12136) 2024-07-01 18:04:23 +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 Add newlines before comments in E305 (#12606) 2024-07-31 23:11:00 -04:00
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
E30_syntax_error.py Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00: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
E204.py [pycodestyle] Whitespace after decorator (E204) (#12140) 2024-07-04 23:31:03 +00: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
E402_3.py [pycodestyle] Exempt pytest.importorskip() calls (E402) (#14474) 2024-11-19 22:08:15 -05:00
E402_4.py [pycodestyle] Exempt sys.path += ... calls (E402) (#15980) 2025-02-06 08:51:51 +01: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
E501_3.py Ignore overlong pragma comments when enforcing linter line length (#7692) 2023-09-29 23:26:52 +00:00
E501_4.py Use char-wise width instead of str-width (#12135) 2024-07-01 18:56:27 +05:30
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
E713.py
E714.py
E721.py Improve handling of builtin symbols in linter rules (#10919) 2024-04-16 11:37:31 +01:00
E722.py
E731.py [pycodestyle] Preserve original value format (E731) (#15097) 2024-12-23 09:29:46 +00:00
E741.py
E741.pyi Disable E741 in stub files (#13119) 2024-08-27 15:02:14 +01:00
E742.py
E743.py
shebang.py
W19.py Avoid syntax errors for test cases (#11923) 2024-06-18 17:16:27 +05:30
W29.py
W291.py Index multiline f-strings (#9837) 2024-02-05 21:25:33 -05:00
W292_0.py
W292_1.py
W292_2.py
W292_3.py
W292_4.py
W293.py Do multiline string test for W293 too (#10049) 2024-02-19 11:58:56 +00:00
W391.ipynb [pycodestyle] Handle each cell separately for too-many-newlines-at-end-of-file (W391) (#15308) 2025-01-09 10:50:39 -06: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 [pycodestyle] Handle f-strings properly for invalid-escape-sequence (W605) (#14748) 2024-12-04 06:59:14 -06:00