ruff/crates/ruff_linter/resources/test/fixtures
Alexandra Valentine-Ketchum c40b37aa36
N811 & N814: eliminate false positives for single-letter names (#14584)
Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-11-27 14:38:36 +00:00
..
airflow [airflow] Avoid implicit DAG schedule (AIR301) (#14581) 2024-11-26 13:38:18 +01:00
control-flow-graph Add erroneous for-loop test case for CFG (#8957) 2023-12-01 23:11:42 +00:00
eradicate `ERA001`: Ignore script-comments with multiple end-tags (#13283) 2024-09-09 19:47:39 +01:00
fastapi Respect FastAPI aliases in route definitions (#13394) 2024-09-18 12:06:49 -04:00
filesystem Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_2020 Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_annotations [ruff 0.8] [`flake8-annotations`] Remove deprecated rules ANN101 and ANN102 (#14384) 2024-11-20 13:11:51 +01:00
flake8_async [`flake8-async`] allow async generators (`ASYNC100`) (#13639) 2024-10-07 07:25:54 -05:00
flake8_bandit [`flake8-bandit`] Detect patterns from multi line SQL statements (`S608`) (#13574) 2024-10-17 05:42:03 +00:00
flake8_blind_except Respect logged and re-raised expressions in nested statements (#11301) 2024-05-05 21:52:09 -04:00
flake8_boolean_trap FBT001: exclude boolean operators (#14203) 2024-11-10 22:40:37 +00:00
flake8_bugbear [`flake8-bugbear`] Fix `mutable-contextvar-default (B039)` to resolve annotated function calls properly (#14532) 2024-11-23 21:29:25 -05:00
flake8_builtins [`flake8-builtins`] Exempt private built-in modules (`A005`) (#14505) 2024-11-23 21:39:04 -05:00
flake8_commas Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
flake8_comprehensions [`flake8-comprehensions`] Do not lint `async for` comprehensions in `unnecessary-comprehension-in-call (`C419`)` (#12895) 2024-08-15 01:00:10 +00:00
flake8_datetimez [`flake8-datetimez`] Also exempt `.time()` (`DTZ901`) (#14394) 2024-11-18 02:24:35 +00:00
flake8_debugger Check for use of `debugpy` and `ptvsd` debug modules (#10177) (#10194) 2024-03-01 23:02:44 -05:00
flake8_django Respect `__str__` definitions from super classes (#9338) 2023-12-31 22:25:08 +00:00
flake8_errmsg Allow `EM` fixes even if `msg` variable is defined (#9059) 2023-12-08 15:16:15 -06:00
flake8_executable Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_fixme Fix TODO directive out of bounds acccess (#13756) 2024-10-15 10:49:53 +02:00
flake8_future_annotations Avoid flagging `__future__` annotations as required for non-evaluated type annotations (#11414) 2024-05-21 18:57:13 +00:00
flake8_gettext Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_implicit_str_concat [`flake8-implicit-str-concat`] Normalize octals before merging concatenated strings in `single-line-implicit-string-concatenation` (`ISC001`) (#13118) 2024-08-27 18:53:27 +01:00
flake8_import_conventions Accept non-aliased (but correct) import in unconventional-import-alias (#10729) 2024-04-01 23:47:20 -04:00
flake8_logging [`flake8-logging`] Root logger calls (`LOG015`) (#14302) 2024-11-13 09:11:55 +00:00
flake8_logging_format Include inline instantiations when detecting loggers (#11154) 2024-04-25 21:00:12 -04:00
flake8_no_pep420 Skip namespace package enforcement for PEP 723 scripts (#13974) 2024-10-29 02:11:31 +00:00
flake8_pie [`flake8-pie`] Mark fix as unsafe if the following statement is a string literal (`PIE790`) (#14393) 2024-11-18 02:30:06 +00:00
flake8_print Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_pyi Extend test cases for `flake8-pyi` (#14280) 2024-11-26 09:10:38 +01:00
flake8_pytest_style Fix `pytest.mark.parametrize` rules to check calls instead of decorators (#14515) 2024-11-25 13:55:18 +01:00
flake8_quotes Add semantic model flag when inside f-string replacement field (#10766) 2024-04-04 09:08:48 +05:30
flake8_raise Avoid false-positives for parens-on-raise with futures.exception() (#10206) 2024-03-03 00:28:51 +00:00
flake8_return Stabilize fixes for `RET50{5-8}` (#12840) 2024-08-14 18:15:45 +02:00
flake8_self [`flake8-self`] Ignore sunder accesses in `flake8-self` rule (#11546) 2024-05-26 13:57:24 -04:00
flake8_simplify [`flake8-simplify`] Infer "unknown" truthiness for literal iterables whose items are all unpacks (`SIM222`) (#14263) 2024-11-11 15:23:34 -05:00
flake8_slots Avoid recommending `__slots__` for classes that inherit from more than `namedtuple` (#12531) 2024-07-26 14:24:40 +00:00
flake8_tidy_imports Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_todos [`flake8-todos`] Allow words starting with todo (#13640) 2024-10-14 10:21:45 +00:00
flake8_type_checking [`flake8-type-checking`] Adds implementation for TC007 and TC008 (#12927) 2024-11-27 09:51:20 +01:00
flake8_unused_arguments Make `ARG002` compatible with `EM101` when raising `NotImplementedError` (#13714) 2024-10-18 06:44:22 +00:00
flake8_use_pathlib [`flake8-use-pathlib`] Recommend `Path.iterdir()` over `os.listdir()` (`PTH208`) (#14509) 2024-11-27 09:53:13 +00:00
flynt Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
isort enforce required imports even with useless alias (#14287) 2024-11-14 15:39:38 -06:00
mccabe Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
numpy Ignore `NPY201` inside `except` blocks for compatibility with older numpy versions (#12490) 2024-07-24 20:03:23 +00:00
pandas_vet Limit inplace diagnostics to methods that accept inplace (#9495) 2024-01-12 14:12:54 -05:00
pep8_naming N811 & N814: eliminate false positives for single-letter names (#14584) 2024-11-27 14:38:36 +00:00
perflint [`perflint`] implement quick-fix for `manual-list-comprehension` (`PERF401`) (#13919) 2024-11-11 11:17:02 +00:00
pycodestyle [`pycodestyle`] Exempt `pytest.importorskip()` calls (`E402`) (#14474) 2024-11-19 22:08:15 -05:00
pydoclint [`pydoclint`] Ignore `DOC201` when function name is "__new__" (#13300) 2024-09-10 13:25:38 -04:00
pydocstyle Don't raise `D208` when last line is non-empty (#13372) 2024-09-26 14:53:21 +02:00
pyflakes [pyflakes] Avoid false positives in `@no_type_check` contexts (F821, F722) (#14615) 2024-11-26 19:13:43 +00:00
pygrep_hooks Respect per-file ignores for blanket and redirected noqa rules (#11728) 2024-06-04 03:57:59 +00:00
pylint `[pylint]` Implement `len-test` (`PLC1802`) (#14309) 2024-11-26 13:30:17 -06:00
pyupgrade [ruff 0.8] Remove deprecated rule UP027 (#14382) 2024-11-20 13:11:51 +01:00
refurb [`refurb`] Avoid triggering `hardcoded-string-charset` for reordered sets (#14233) 2024-11-09 15:31:26 -05:00
ruff [`ruff`] Implement `unnecessary-nested-literal` (`RUF041`) (#14323) 2024-11-27 10:01:50 +00:00
tryceratops Recode `TRY302` to `TRY203` (#13502) 2024-10-17 16:35:12 +01:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00