ruff/resources/test/fixtures
Charlie Marsh b9a119d335 Add an example ast-grep rule (sg scan resources/test/cpython/) 2022-11-07 14:50:48 -05:00
..
bar Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
directory Improve exclusion syntax to match exact files (#209) 2022-09-15 21:40:49 -04:00
flake8_annotations Fix --ignore for ANN101 and ANN102 (#637) 2022-11-07 09:03:09 -05:00
flake8_quotes Implement the `flake8-quotes` plugin (#495) 2022-10-28 17:52:11 -04:00
foo Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
A001.py Add an example ast-grep rule (sg scan resources/test/cpython/) 2022-11-07 14:50:48 -05:00
A002.py Adds flake8-builtins (#284) 2022-09-29 16:37:43 -04:00
A003.py Adds flake8-builtins (#284) 2022-09-29 16:37:43 -04:00
B002.py Implement B002 (unary prefix increment) (#468) 2022-10-25 21:10:51 -04:00
B003.py Implement B003 (#596) 2022-11-05 14:08:02 -04:00
B004.py Implement B004 (#638) 2022-11-07 09:25:09 -05:00
B005.py Implement B005 (#643) 2022-11-07 10:10:59 -05:00
B006_B008.py Implement B006 (#515) 2022-10-30 12:57:57 -04:00
B007.py Implement B007 (unused loop control variable) (#473) 2022-10-26 12:01:27 -04:00
B011.py Implement B025 from flake8-bugbear (#391) 2022-10-10 12:18:31 -04:00
B013.py Implement B013 (#503) 2022-10-29 15:36:29 -04:00
B014.py Implement B014 from flake8-bugbear (#392) 2022-10-10 12:53:42 -04:00
B015.py Fix B015 false positive on comparison deep inside expression statement (#616) 2022-11-05 20:13:22 -04:00
B016.py Implement B016 (#595) 2022-11-05 14:06:00 -04:00
B017.py Implement B017 (no assertRaises(Exception)) (#467) 2022-10-25 20:55:00 -04:00
B018.py Ignore ellipsis in B018 (#598) 2022-11-05 14:11:44 -04:00
B025.py Implement B025 from flake8-bugbear (#391) 2022-10-10 12:18:31 -04:00
C400.py Respect trailing whitespace in comprehension fixes (#554) 2022-11-02 21:08:17 -04:00
C401.py Respect trailing whitespace in comprehension fixes (#554) 2022-11-02 21:08:17 -04:00
C402.py Implement autofix for dict and tuple comprehensions (#555) 2022-11-02 21:36:20 -04:00
C403.py Respect trailing whitespace in comprehension fixes (#554) 2022-11-02 21:08:17 -04:00
C404.py Avoid flake8-comprehensions errors for dicts with kwargs (#512) 2022-10-29 18:49:06 -04:00
C405.py Implement C405 (#362) 2022-10-08 09:03:21 -04:00
C406.py Implement C406 (#363) 2022-10-08 11:15:41 -04:00
C408.py Implement C408 (#364) 2022-10-08 17:17:34 -04:00
C409.py Implement autofix for dict and tuple comprehensions (#555) 2022-11-02 21:36:20 -04:00
C410.py Implement C410 (#382) 2022-10-09 23:33:55 -04:00
C411.py Implement C411 (#420) 2022-10-13 09:48:27 -04:00
C413.py Implement C413 (#421) 2022-10-13 11:15:41 -04:00
C414.py Implement C414 (#406) 2022-10-12 12:58:46 -04:00
C415.py Implement C415 (#371) 2022-10-09 10:12:58 -04:00
C416.py Implement C416 (#415) 2022-10-13 08:34:33 -04:00
C417.py Implement C417 (#426) 2022-10-14 12:34:00 -04:00
D.py Implement docstring visibility checks (#408) 2022-10-12 12:46:40 -04:00
E402.py fix: Make assigns to dunder exception for E402. (#294) 2022-10-01 09:43:47 -04:00
E501.py Only track noqa directives for multi-line strings (#615) 2022-11-05 19:53:13 -04:00
E711.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E712.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E713.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E714.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E721.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E722.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E731.py Pull in pycodestyle tests for E checks (#195) 2022-09-14 22:22:53 -04:00
E741.py Add test case for assignment expression in `E741.py` (#168) 2022-09-12 09:03:36 -04:00
E742.py Implement E742 (#160) 2022-09-11 20:27:48 -04:00
E743.py Implement E743 (#162) 2022-09-11 21:27:33 -04:00
E999.py Raise error when failing to parse (#199) 2022-09-14 22:37:55 -04:00
F401_0.py Fix multi-segment import removal (#480) 2022-10-26 16:43:55 -04:00
F401_1.py Defer string annotations even when futures annotations are enabled (#378) 2022-10-09 18:28:29 -04:00
F401_2.py Defer string annotations even when futures annotations are enabled (#378) 2022-10-09 18:28:29 -04:00
F401_3.py Defer string annotations even when futures annotations are enabled (#378) 2022-10-09 18:28:29 -04:00
F401_4.py Defer string annotations even when futures annotations are enabled (#378) 2022-10-09 18:28:29 -04:00
F401_5.py Fix multi-segment import removal (#480) 2022-10-26 16:43:55 -04:00
F402.py Implement F402 (#221) 2022-09-21 11:12:55 -04:00
F403.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F404.py Implement docstring tracking (#394) 2022-10-10 15:15:09 -04:00
F405.py Implement F405 (#243) 2022-09-21 12:13:40 -04:00
F406.py Implement F406 (#172) 2022-09-12 16:47:30 -04:00
F407.py Implement F407 (#158) 2022-09-11 18:05:28 -04:00
F541.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F601.py Implement F601 and F602 (#122) 2022-09-07 12:57:50 -04:00
F602.py Implement F601 and F602 (#122) 2022-09-07 12:57:50 -04:00
F622.py Implement F621 and F622 (#143) 2022-09-10 15:04:33 -04:00
F631.py Implement F631 (AssertTuple) (#99) 2022-09-04 08:39:49 -04:00
F632.py pyflakes F632 Autofix (#612) 2022-11-06 06:57:46 -05:00
F633.py feat: Implement `InvalidPrintSyntax` (`F633`) (#182) 2022-09-13 21:10:20 -04:00
F634.py Fix false positive for `IfTuple` (#96) 2022-09-03 22:56:55 -04:00
F701.py Implement F701 and F702 (#169) 2022-09-12 11:16:08 -04:00
F702.py Implement F701 and F702 (#169) 2022-09-12 11:16:08 -04:00
F704.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F706.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F707.py Implement F707 (DefaultExceptNotLast) (#101) 2022-09-04 11:55:06 -04:00
F722.py Implement F722 (#175) 2022-09-12 21:34:27 -04:00
F821_0.py Track typing module imports (#533) 2022-11-01 14:01:59 -04:00
F821_1.py Refine list of annotatable subscripts (#534) 2022-11-01 16:36:05 -04:00
F821_2.py Account for typing_extensions for annotation parsing (#550) 2022-11-02 09:01:12 -04:00
F821_3.py Confine subscript annotation checks to `ExprContext::Load` (#583) 2022-11-04 10:51:05 -04:00
F822.py Implement F822 (#94) 2022-09-03 12:08:26 -04:00
F823.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F831.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
F841.py Make unused variable pattern configurable (#265) 2022-09-24 10:43:39 -04:00
F901.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
M001.py Flag unimplemented error codes in M001 (#388) 2022-10-10 10:03:40 -04:00
N801.py Implement N801 ~ N805 (#439) 2022-10-16 11:58:39 -04:00
N802.py Ignore unittest methods and functions in N802 (#502) 2022-10-29 15:36:09 -04:00
N803.py Allow underscore names in N803 (#622) 2022-11-06 14:19:02 -05:00
N804.py Categorize functions in pep8-naming (#624) 2022-11-06 15:29:49 -05:00
N805.py Categorize functions in pep8-naming (#624) 2022-11-06 15:29:49 -05:00
N806.py Relax lowercase condition in N806 (#562) 2022-11-02 22:38:29 -04:00
N807.py Implement N807 (#456) 2022-10-20 11:12:02 -04:00
N811.py Fix uppercase and lowercase check (#461) 2022-10-22 12:49:13 -04:00
N812.py Fix uppercase and lowercase check (#461) 2022-10-22 12:49:13 -04:00
N813.py Fix uppercase and lowercase check (#461) 2022-10-22 12:49:13 -04:00
N814.py Fix uppercase and lowercase check (#461) 2022-10-22 12:49:13 -04:00
N815.py Implement N806, 815, 816, 818 (#501) 2022-10-29 15:35:56 -04:00
N816.py Implement N806, 815, 816, 818 (#501) 2022-10-29 15:35:56 -04:00
N817.py Fix uppercase and lowercase check (#461) 2022-10-22 12:49:13 -04:00
N818.py Implement N806, 815, 816, 818 (#501) 2022-10-29 15:35:56 -04:00
RUF001.py Change Ruff's error prefix to RUF (#592) 2022-11-04 23:13:50 -04:00
RUF002.py Change Ruff's error prefix to RUF (#592) 2022-11-04 23:13:50 -04:00
T201.py Implement flake8-print (#308) 2022-10-03 17:19:56 -04:00
T203.py Implement flake8-print (#308) 2022-10-03 17:19:56 -04:00
U001.py Implement __metaclass__ = type removal (#324) 2022-10-04 14:31:52 -04:00
U002.py Enable abspath(__file__) removal (#336) 2022-10-06 22:49:06 -04:00
U003.py Implement type(primitive) (#353) 2022-10-07 16:47:06 -04:00
U004.py Rename refactor checks to upgrade checks (#354) 2022-10-07 16:54:55 -04:00
U005.py Extend assertEquals check to all deprecated unittest aliases (#380) 2022-10-09 22:13:51 -04:00
U006.py Implement PEP 585 annotation rewrites (#368) 2022-10-08 18:22:24 -04:00
U007.py Implement PEP 604 annotation rewrites (#369) 2022-10-08 20:28:00 -04:00
U008.py Rename SPR001 to U008 (#379) 2022-10-09 21:58:22 -04:00
U009_0.py Remove utf-8 encoding declaration (#618) 2022-11-06 14:23:06 -05:00
U009_1.py Remove utf-8 encoding declaration (#618) 2022-11-06 14:23:06 -05:00
U009_2.py Remove utf-8 encoding declaration (#618) 2022-11-06 14:23:06 -05:00
U009_3.py Remove utf-8 encoding declaration (#618) 2022-11-06 14:23:06 -05:00
W292_0.py Add check for W292 (#339) 2022-10-07 21:10:16 -04:00
W292_1.py Add check for W292 (#339) 2022-10-07 21:10:16 -04:00
W292_2.py Check newline ending on contents directly (#365) 2022-10-08 17:25:22 -04:00
W605_0.py Fix invalid escape handling for CRLF files (#589) 2022-11-04 14:26:39 -04:00
W605_1.py Fix invalid escape handling for CRLF files (#589) 2022-11-04 14:26:39 -04:00
__init__.py Add example of per-file ignores to the README (#488) 2022-10-27 12:58:52 -04:00
canonical_google_examples.py Implement checks for Google-style docstrings (#427) 2022-10-14 11:53:29 -04:00
canonical_numpy_examples.py Implement docstring argument tracking for NumPy-style docstrings (#425) 2022-10-14 10:18:07 -04:00
excluded.py Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
future_annotations.py Automatically remove unused imports (#298) 2022-10-03 14:08:16 -04:00
pyproject.toml Represent per-file ignores as a map (#531) 2022-10-31 22:15:33 -04:00
sections.py Implement D405, D406, D410, D411, and D413 (#411) 2022-10-12 16:31:14 -04:00