Skip to content

Comments

[pyflakes] Ignore errors in @no_type_check string annotations (F722, F821)#15215

Merged
MichaReiser merged 4 commits intoastral-sh:mainfrom
InSyncWithFoo:F722
Jan 3, 2025
Merged

[pyflakes] Ignore errors in @no_type_check string annotations (F722, F821)#15215
MichaReiser merged 4 commits intoastral-sh:mainfrom
InSyncWithFoo:F722

Conversation

@InSyncWithFoo
Copy link
Contributor

Summary

Resolves #13824, resolves #14698. Part of this PR was taken from #14615.

Test Plan

cargo nextest run and cargo insta test.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the rule Implementing or modifying a lint rule label Jan 2, 2025
@MichaReiser MichaReiser merged commit 6180f78 into astral-sh:main Jan 3, 2025
21 checks passed
dcreager added a commit that referenced this pull request Jan 3, 2025
* main:
  [`ruff`] Avoid reporting when `ndigits` is possibly negative (`RUF057`) (#15234)
  Attribute panics to the mdtests that cause them (#15241)
  Show errors for attempted fixes only when passed `--verbose` (#15237)
  [`RUF`] Add rule to detect empty literal in deque call (`RUF025`) (#15104)
  TD003: remove issue code length restriction (#15175)
  Preserve multiline implicit concatenated strings in docstring positions (#15126)
  [`pyflakes`] Ignore errors in `@no_type_check` string annotations (`F722`, `F821`) (#15215)
  style(AIR302): rename removed_airflow_plugin_extension as check_airflow_plugin_extension (#15233)
  [`pylint`] Re-implement `unreachable` (`PLW0101`) (#10891)
  refactor(AIR303): move duplicate qualified_name.to_string() to Diagnostic argument (#15220)
  Misc. clean up to rounding rules (#15231)
  Avoid syntax error when removing int over multiple lines (#15230)
  Migrate renovate config (#15228)
  Remove `Type::tuple` in favor of `TupleType::from_elements` (#15218)
@InSyncWithFoo InSyncWithFoo deleted the F722 branch January 4, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rule Implementing or modifying a lint rule

Projects

None yet

2 participants