ruff/crates/ruff_linter/resources/test/fixtures
Charlie Marsh f452bf8cad
Allow matplotlib.use calls to intersperse imports (#9094)
This PR allows `matplotlib.use` calls to intersperse imports without
triggering `E402`. This is a pragmatic choice as it's common to require
`matplotlib.use` calls prior to importing from within `matplotlib`
itself.

Closes https://github.com/astral-sh/ruff/issues/9091.
2023-12-11 17:06:25 +00:00
..
airflow Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
control-flow-graph Add erroneous for-loop test case for CFG (#8957) 2023-12-01 23:11:42 +00:00
eradicate Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02: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 Avoid ANN2xx autofix for abstract methods with empty body (#9034) 2023-12-06 20:47:36 -06:00
flake8_async Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_bandit New AST nodes for f-string elements (#8835) 2023-12-07 10:28:05 -06:00
flake8_blind_except Add Expr::Name checks to rules which use is_logger_candidate (#7521) 2023-09-27 00:21:22 +00:00
flake8_boolean_trap Allow booleans in @override methods (#8882) 2023-11-28 13:42:31 -08:00
flake8_bugbear Avoid B015,B018 for last expression in a cell (#8815) 2023-11-22 15:33:23 +00:00
flake8_builtins Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_commas Consider the new f-string tokens for flake8-commas (#8582) 2023-11-10 09:49:14 +05:30
flake8_comprehensions Preserve trailing comments in C414 fixes (#7775) 2023-10-03 04:36:51 +00:00
flake8_datetimez Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_debugger Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_django Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02: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 Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_future_annotations Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_gettext Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_implicit_str_concat Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
flake8_import_conventions Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_logging Add Expr::Name checks to rules which use is_logger_candidate (#7521) 2023-09-27 00:21:22 +00:00
flake8_logging_format Add Expr::Name checks to rules which use is_logger_candidate (#7521) 2023-09-27 00:21:22 +00:00
flake8_no_pep420 Avoid missing namespace violations in scripts with shebangs (#8710) 2023-11-16 17:21:33 -05:00
flake8_pie Respect trailing comma in unnecessary-dict-kwargs (#9015) 2023-12-05 21:30:29 +00:00
flake8_print Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_pyi New AST nodes for f-string elements (#8835) 2023-12-07 10:28:05 -06:00
flake8_pytest_style Rename Autofix to Fix (#7657) 2023-09-28 10:53:05 +00:00
flake8_quotes Add new rule to check for useless quote escapes (#8630) 2023-11-13 21:59:37 +00:00
flake8_raise Avoid removing parentheses on ctypes.WinError (#9027) 2023-12-06 17:05:34 +00:00
flake8_return Rename Autofix to Fix (#7657) 2023-09-28 10:53:05 +00:00
flake8_self Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_simplify [flake8-simplify] Omit select context managers from SIM117 (#8801) 2023-11-21 11:53:42 +00:00
flake8_slots Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_tidy_imports Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_todos Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_trio Use full arguments range for zero-sleep-call (#8936) 2023-12-01 03:09:18 +00:00
flake8_type_checking Add support for @functools.singledispatch (#8934) 2023-12-01 03:04:58 +00:00
flake8_unused_arguments Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_use_pathlib Show custom message for Path.joinpath with starred arguments (#7852) 2023-10-09 12:04:35 +00:00
flynt Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
isort Avoid invalid combination of force-sort-within-types and lines-between-types (#9041) 2023-12-06 23:56:14 -05:00
mccabe Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
numpy Implement NumPy 2.0 migration rule (#7702) 2023-11-03 03:47:01 +00:00
pandas_vet Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
pep8_naming Allow class names when apps.get_model is a non-string (#9065) 2023-12-08 22:59:05 -05:00
perflint Avoid PERF101 if there's an append in loop body (#8809) 2023-11-21 15:35:42 -06:00
pycodestyle Allow matplotlib.use calls to intersperse imports (#9094) 2023-12-11 17:06:25 +00:00
pydocstyle Convert over-indentation rule to use number of characters (#8983) 2023-12-03 20:45:30 +00:00
pyflakes Respect dictionary unpacking in NamedTuple assignments (#8810) 2023-11-21 19:30:48 +00:00
pygrep_hooks Expand DeprecatedLogWarn to check for Expr::Atrribute calls (#7677) 2023-09-27 11:38:52 -04:00
pylint [pylint] Implement too-many-positional (PLR0917) (#8995) 2023-12-04 18:03:09 +00:00
pyupgrade Enable printf-string-formatting fix with comments on right-hand side (#9037) 2023-12-06 22:43:21 -05:00
refurb [refurb] Implement hashlib-digest-hex (FURB181) (#9077) 2023-12-10 02:00:11 +00:00
ruff Detect unused-asyncio-dangling-task (RUF006) on unused assignments (#9060) 2023-12-09 21:10:38 +00:00
tryceratops Avoid repeated triggers in nested tryceratops diagnostics (#8772) 2023-11-19 23:43:59 +00:00