ruff/crates/ruff_linter/resources/test/fixtures
Charlie Marsh 3aa7e35a4c
Avoid removing newlines between docstring headers and rST blocks (#11609)
Given:

```python
def func():
    """
    Example:

    .. code-block:: python

        import foo
    """
```

Removing the newline after the `Example:` header breaks Sphinx
rendering.

See: https://github.com/astral-sh/ruff/issues/11577
2024-05-30 13:29:20 -04: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 Avoid code comment detection in PEP 723 script tags (#10464) 2024-03-18 17:48:51 -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 Handle raises with implicit alternate branches (#9377) 2024-01-02 22:59:12 -05:00
flake8_async [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498) 2024-05-23 16:25:50 -04:00
flake8_bandit [flake8-bandit] Allow urllib.request.urlopen calls with static Request argument (#10964) 2024-04-16 02:30:23 +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 [flake8-boolean-trap] Add setting for user defined allowed boolean trap (#10531) 2024-03-30 00:26:12 +00:00
flake8_bugbear [flake8-bugbear] Ignore enum classes in cached-instance-method (B019) (#11312) 2024-05-06 14:19:22 -04:00
flake8_builtins Restrict builtin-attribute-shadowing to actual shadowed references (#9462) 2024-01-11 12:59:40 -05:00
flake8_commas Consider the new f-string tokens for flake8-commas (#8582) 2023-11-10 09:49:14 +05:30
flake8_comprehensions [flake8-comprehension] Strip parentheses around generators in C400 (#11607) 2024-05-30 03:26:56 +00:00
flake8_datetimez Allow f-strings with %z for DTZ007 (#10651) 2024-03-29 09:57:13 +05:30
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 Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +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 Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00: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 Avoid failures due to non-deterministic binding ordering (#10478) 2024-03-19 18:01:33 +00:00
flake8_logging_format Include inline instantiations when detecting loggers (#11154) 2024-04-25 21:00:12 -04:00
flake8_no_pep420 Avoid missing namespace violations in scripts with shebangs (#8710) 2023-11-16 17:21:33 -05:00
flake8_pie [flake8-pie] Preserve parentheses in unnecessary-dict-kwargs (#11372) 2024-05-11 18:04:54 -04:00
flake8_print Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
flake8_pyi [flake8-pyi] Implement PYI057 (#11486) 2024-05-29 10:04:36 +00:00
flake8_pytest_style [flake8-pytest-style] Fix single-tuple conversion in pytest-parametrize-values-wrong-type (#10862) 2024-04-10 14:20:09 -04: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 [flake8-return] Ignore assignments to annotated variables in unnecessary-assign (#10741) 2024-04-02 16:18:05 -04:00
flake8_self [flake8-self] Ignore sunder accesses in flake8-self rule (#11546) 2024-05-26 13:57:24 -04:00
flake8_simplify Avoid recommending context manager in __enter__ implementations (#11575) 2024-05-28 01:44:24 +00:00
flake8_slots [flake8-slots] Respect same-file Enum subclasses (#11006) 2024-04-17 21:15:52 -04: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 Avoid TRIO115 if the argument is a variable (#10376) 2024-03-13 13:09:18 +05:30
flake8_type_checking Treat all singledispatch arguments as runtime-required (#11523) 2024-05-23 20:36:24 -04: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 Infer indentation with imports when logical indent is absent (#11608) 2024-05-30 00:18:07 -04:00
mccabe Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
numpy Add missing functions to NumPy 2.0 migration rule (#11528) 2024-05-26 13:24:20 -04:00
pandas_vet Limit inplace diagnostics to methods that accept inplace (#9495) 2024-01-12 14:12:54 -05:00
pep8_naming Avoid debug assertion around NFKC renames (#11249) 2024-05-02 10:59:39 -07:00
perflint Ignore list-copy recommendations for async for loops (#11250) 2024-05-02 11:48:52 -07:00
pycodestyle Consider soft keywords for E27 rules (#11446) 2024-05-20 05:38:06 +00:00
pydocstyle Avoid removing newlines between docstring headers and rST blocks (#11609) 2024-05-30 13:29:20 -04:00
pyflakes F401 - Recommend adding unused import bindings to __all__ (#11314) 2024-05-14 17:02:33 -07:00
pygrep_hooks [pygrep_hooks] Fix blanket-noqa panic when last line has noqa with no newline (PGH004) (#11108) 2024-04-25 14:39:38 -04:00
pylint [pylint] Ignore __slots__ with dynamic values (#11488) 2024-05-22 04:18:01 +00:00
pyupgrade Infer indentation with imports when logical indent is absent (#11608) 2024-05-30 00:18:07 -04:00
refurb Avoid recomending operator.itemgetter with dependence on lambda arg (#11574) 2024-05-28 01:29:29 +00:00
ruff Fix a few typos found by codespell (#11404) 2024-05-13 13:22:35 +00:00
tryceratops Avoid failures due to non-deterministic binding ordering (#10478) 2024-03-19 18:01:33 +00:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00