ruff/crates/ruff_linter/resources/test/fixtures
Takayuki Maeda a51a0f16e4
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / ty completion evaluation (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo fmt (push) Waiting to run
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (${{ github.repository == 'astral-sh/ruff' && 'depot-windows-2022-16' || 'windows-latest' }}) (push) Blocked by required conditions
CI / cargo test (macos-latest) (push) Blocked by required conditions
CI / benchmarks walltime (small|large) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks instrumented (ruff) (push) Blocked by required conditions
CI / benchmarks instrumented (ty) (push) Blocked by required conditions
CI / benchmarks walltime (medium|multithreaded) (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
[flake8-simplify] Skip SIM911 when unknown arguments are present (#20697)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

Fixes #18778

Prevent SIM911 from triggering when zip() is called on .keys()/.values()
that take any positional or keyword arguments, so Ruff
never suggests the lossy rewrite.

## Test Plan

<!-- How was it tested? -->

Added a test case to SIM911.py.
2025-10-21 16:58:48 -04:00
..
airflow [airflow] Add warning to airflow.datasets.DatasetEvent usage (AIR301) (#20551) 2025-10-15 12:19:55 -04:00
control-flow-graph
eradicate Don't flag pyrefly pragmas as unused code (ERA001) (#19731) 2025-08-04 10:15:37 +02:00
fastapi [fastapi] Handle ellipsis defaults in FAST002 autofix (FAST002) (#20810) 2025-10-21 02:47:13 +00:00
filesystem
flake8_2020
flake8_annotations [flake8-annotations] Fix return type annotations to handle shadowed builtin symbols (ANN201, ANN202, ANN204, ANN205, ANN206) (#20612) 2025-10-02 22:44:06 +00:00
flake8_async [flake8-async] Implement blocking-path-method (ASYNC240) (#20264) 2025-09-23 08:30:47 -04:00
flake8_bandit Fix false negatives in Truthiness::from_expr for lambdas, generators, and f-strings (#20704) 2025-10-14 03:06:17 -05:00
flake8_blind_except [flake8-blind-except] Fix BLE001 false-positive on raise ... from None (#19755) 2025-08-13 13:01:47 -04:00
flake8_boolean_trap
flake8_bugbear [flake8-bugbear] Skip B905 and B912 if <2 iterables and no starred arguments (#20998) 2025-10-20 18:35:32 -05:00
flake8_builtins [flake8-bultins] Detect class-scope builtin shadowing in decorators, default args, and attribute initializers (A003) (#20178) 2025-09-22 18:12:45 -04:00
flake8_commas Track t-strings and f-strings for token-based rules and suppression comments (#20357) 2025-09-12 13:00:12 -05:00
flake8_comprehensions [flake8-comprehensions] Preserve trailing commas for single-element lists (C409) (#19571) 2025-09-19 09:27:14 -04:00
flake8_datetimez
flake8_debugger
flake8_django [flake8_django] Fix DJ008 false positive for abstract models with type-annotated abstract field (#19221) 2025-07-11 16:50:59 +00:00
flake8_errmsg [flake8-errmsg] Exclude typing.cast from EM101 (#19656) 2025-08-01 13:37:44 -04:00
flake8_executable [flake8-executable] Allow uvx in shebang line (EXE003) (#18967) 2025-06-30 09:38:18 -04:00
flake8_fixme
flake8_future_annotations [ruff] Extend FA102 with listed PEP 585-compatible APIs (#20659) 2025-10-03 09:45:32 -04:00
flake8_gettext [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) (#19045) 2025-10-20 18:24:55 -04:00
flake8_implicit_str_concat Improved error recovery for unclosed strings (including f- and t-strings) (#20848) 2025-10-15 09:50:56 +02:00
flake8_import_conventions
flake8_logging [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014) (#18737) 2025-06-20 14:43:08 -04:00
flake8_logging_format [flake8-logging-format] Avoid dropping implicitly concatenated pieces in the G004 fix (#20793) 2025-10-09 18:14:38 -04:00
flake8_no_pep420
flake8_pie Fix F701 to F707 errors in tests (#19125) 2025-07-04 13:43:18 -05:00
flake8_print
flake8_pyi [flake8-pyi] Fix operator precedence by adding parentheses when needed (PYI061) (#20508) 2025-10-15 15:06:03 +00:00
flake8_pytest_style Less confidently mark f-strings as empty when inferring truthiness (#20152) 2025-08-29 22:12:54 +00:00
flake8_quotes
flake8_raise [flake8-raise] Make fix unsafe if it deletes comments (RSE102) (#18788) 2025-06-21 19:09:40 +02:00
flake8_return [flake8-return] Fix false-positive for variables used inside nested functions in RET504 (#18433) 2025-07-10 16:10:22 -04:00
flake8_self
flake8_simplify [flake8-simplify] Skip SIM911 when unknown arguments are present (#20697) 2025-10-21 16:58:48 -04:00
flake8_slots
flake8_tidy_imports
flake8_todos
flake8_type_checking [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100) 2025-07-16 08:50:52 -04:00
flake8_unused_arguments Add t-string fixtures for rules that do not need to be modified (#19146) 2025-07-14 09:46:31 -05:00
flake8_use_pathlib [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes (#20143) 2025-09-18 14:17:54 +00:00
flynt [flynt] Fix f-string quoting for mixed quote joiners (FLY002) (#20662) 2025-10-03 09:15:57 -04:00
isort [isort] Fix inserting required imports before future imports (I002) (#20676) 2025-10-06 13:40:36 +00:00
mccabe
numpy
pandas_vet
pep8_naming [pep8-naming] Fix N802 false positives for CGIHTTPRequestHandler and SimpleHTTPRequestHandler (#19432) 2025-07-23 12:04:11 -04:00
perflint [perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934) 2025-08-28 21:37:40 +00:00
pycodestyle [pycodestyle] Fix E301 to only trigger for functions immediately within a class (#19768) 2025-09-16 11:00:07 -04:00
pydoclint [pydoclint] Implement docstring-extraneous-parameter (DOC102) (#20376) 2025-10-16 11:26:51 -04:00
pydocstyle [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) (#19246) 2025-07-14 13:31:36 -04:00
pyflakes Update default and latest Python versions for 3.14 (#20725) 2025-10-07 12:23:11 -04:00
pygrep_hooks [pygrep_hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#18547) 2025-06-24 17:27:21 -04:00
pylint [pylint] Add U+061C to PLE2502 (#20106) 2025-08-28 16:35:48 -04:00
pyupgrade [pyupgrade] Always parenthesize assignment expressions in fix for f-string (UP032) (#21003) 2025-10-20 18:34:02 -05:00
refurb [refurb] Mark single-item-membership-test fix as always unsafe (FURB171) (#20279) 2025-09-18 15:24:15 +00:00
ruff [ruff] Suppress diagnostic for f-string interpolations with debug text (RUF010) (#20525) 2025-10-07 16:57:59 -04:00
syntax_errors [syntax-errors] Detect yield from inside async function (#20051) 2025-09-03 10:13:05 -04:00
tryceratops
__init__.py