[flake8-pyi] Skip fix if all Union members are None (PYI016) by soundsonacid · Pull Request #19416 · astral-sh/ruff (original) (raw)
ntBre changed the title
[pyi108]: skip if all Union members are None [flake8-pyi] Skip fix if all Union members are None (PYI016)
Something isn't working
Related to suggested fixes for violations
labels
dcreager added a commit that referenced this pull request
- main:
[ty] Use
ThinVecfor sub segments inPlaceExpr(#19470) [ty] Splat variadic arguments into parameter list (#18996) [flake8-pyi] Skip fix if allUnionmembers areNone(PYI016) (#19416) Skip notebook with errors in ecosystem check (#19491) [ty] Consistent use of American english (in rules) (#19488) [ty] Support iterating over enums (#19486) Fix panic for illegalLiteral[…]annotations with inner subscript expressions (#19489) Move fix suggestion to subdiagnostic (#19464) [ty] Implement non-stdlib stub mapping for classes and functions (#19471) [ty] Disallow illegal uses ofClassVar(#19483) [ty] DisallowFinalin function parameter/return-type annotations (#19480) [ty] ExtendFinaltest suite (#19476) [ty] Minor change to diagnostic message for invalid Literal uses (#19482) [ty] Detect illegal non-enum attribute accesses in Literal annotation (#19477) [ty] Reduce size ofTypeInference(#19435) Run MD tests for Markdown-only changes (#19479) Revert "[ty] Detect illegal non-enum attribute accesses in Literal annotation" [ty] Detect illegal non-enum attribute accesses in Literal annotation [ty] Added semantic token support for more identifiers (#19473) [ty] Make tuple subclass constructors sound (#19469)
UnboundVariable pushed a commit to UnboundVariable/ruff that referenced this pull request
- main: (28 commits)
[ty] highlight the argument in
static_asserterror messages (astral-sh#19426) [ty] Infer single-valuedness for enums based onint/str(astral-sh#19510) [ty] Restructure submodule query aroundFiledependency [ty] MakeModulea Salsa ingredient [ty] Reachability analysis forisinstance(…)branches (astral-sh#19503) [ty] Normalize single-member enums to their instance type (astral-sh#19502) [ty] Invertty_ideandty_projectdependency (astral-sh#19501) [ty] Implement mock language server for testing (astral-sh#19391) [ty] Detect enums if metaclass is a subtype of EnumType/EnumMeta (astral-sh#19481) [ty] perform type narrowing for places markedglobaltoo (astral-sh#19381) [ty] UseThinVecfor sub segments inPlaceExpr(astral-sh#19470) [ty] Splat variadic arguments into parameter list (astral-sh#18996) [flake8-pyi] Skip fix if allUnionmembers areNone(PYI016) (astral-sh#19416) Skip notebook with errors in ecosystem check (astral-sh#19491) [ty] Consistent use of American english (in rules) (astral-sh#19488) [ty] Support iterating over enums (astral-sh#19486) Fix panic for illegalLiteral[…]annotations with inner subscript expressions (astral-sh#19489) Move fix suggestion to subdiagnostic (astral-sh#19464) [ty] Implement non-stdlib stub mapping for classes and functions (astral-sh#19471) [ty] Disallow illegal uses ofClassVar(astral-sh#19483) ...
Conflicts:
crates/ty_ide/src/goto.rs
AlexWaygood pushed a commit that referenced this pull request
patches #19403
Co-authored-by: Brent Westbrook 36778786+ntBre@users.noreply.github.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})