ruff/crates/ruff_linter/resources/test/fixtures
InSync 901b7dd8f8
[flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177)
## Summary

Resolves #10453, resolves #15165.

## Test Plan

`cargo nextest run` and `cargo insta test`.
2024-12-30 03:31:35 +00:00
..
airflow [airflow]: extend names moved from core to provider (AIR303) (#15159) 2024-12-27 17:04:02 +00: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 [fastapi] Update FAST002 to check keyword-only arguments (#15119) 2024-12-23 15:32:42 +05:30
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] Check S105 for annotated assignment (#15059) 2024-12-19 12:26:40 +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] itertools.batched() without explicit strict (B911) (#14408) 2024-12-10 08:39:46 +00: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] Skip C416 if comprehension contains unpacking (#14909) 2024-12-20 14:35:30 +05:30
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 [flake8-pyi] Also remove self and cls's annotation (PYI034) (#14801) 2024-12-09 14:59:12 +00:00
flake8_pytest_style Fix pytest-parametrize-names-wrong-type (PT006) to edit both argnames and argvalues if both of them are single-element tuples/lists (#14699) 2024-12-09 09:58:52 +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] Fixes quote_type_expression (#14634) 2024-11-27 18:58:48 +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] Catch redundant joins in PTH201 and avoid syntax errors (#15177) 2024-12-30 03:31:35 +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 [pep8-naming] Avoid false positive for class Bar(type(foo)) (N804) (#14683) 2024-11-30 22:37:28 +00:00
perflint [perflint] Parenthesize walrus expressions in autofix for manual-list-comprehension (PERF401) (#15050) 2024-12-19 06:56:45 -06:00
pycodestyle [pycodestyle] Preserve original value format (E731) (#15097) 2024-12-23 09:29:46 +00:00
pydoclint Fix typos found by codespell (#14863) 2024-12-09 09:32:12 +00:00
pydocstyle Rename rules currently not conforming to naming convention (#15102) 2024-12-23 15:48:45 -06:00
pyflakes Revert: [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722) (#14615) (#14726) 2024-12-02 14:28:27 +01:00
pygrep_hooks Respect per-file ignores for blanket and redirected noqa rules (#11728) 2024-06-04 03:57:59 +00:00
pylint [pylint] Preserve original value format (PLR6104) (#14978) 2024-12-17 16:07:07 +01:00
pyupgrade [pyupgrade] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (UP009) (#14728) 2024-12-11 10:30:41 +00:00
refurb [refurb] Handle non-finite decimals in verbose-decimal-constructor (FURB157) (#14596) 2024-12-02 18:13:20 -06:00
ruff Use TypeChecker for detecting fastapi routes (#15093) 2024-12-21 15:45:28 +01: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