Skip to content

[ty] Make all selector case sensitive#23713

Merged
MichaReiser merged 1 commit intomainfrom
micha/all-case-insensitive
Mar 5, 2026
Merged

[ty] Make all selector case sensitive#23713
MichaReiser merged 1 commit intomainfrom
micha/all-case-insensitive

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Mar 4, 2026

Summary

All other rule codes are case sensitive. It's not clear to me what's different about all for it to be case insensitive.

This PR makes all case-sensitive the same as all other rule codes.

Test Plan

Verified that the case insensitive test failed with an unknown rule diagnostic before removing it.

@MichaReiser MichaReiser requested a review from carljm as a code owner March 4, 2026 17:54
@MichaReiser MichaReiser added configuration Related to settings and configuration ty Multi-file analysis & type inference labels Mar 4, 2026
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this make it case sensitive (whereas the title says case insensitive)?

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 4, 2026

Typing conformance results

No changes detected ✅

@MichaReiser MichaReiser changed the title [ty] Make all selector case insensitive [ty] Make all selector case sensitive Mar 4, 2026
@MichaReiser
Copy link
Member Author

Sorry yes. Time to end my day :)

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 4, 2026

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 4, 2026

mypy_primer results

Changes were detected when running on open source projects
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
- src/scikit_build_core/build/wheel.py:99:20: error[no-matching-overload] No overload of bound method `__init__` matches arguments
- Found 58 diagnostics
+ Found 57 diagnostics

@MichaReiser MichaReiser merged commit 2a5384b into main Mar 5, 2026
52 checks passed
@MichaReiser MichaReiser deleted the micha/all-case-insensitive branch March 5, 2026 15:20
carljm added a commit that referenced this pull request Mar 5, 2026
* main:
  Update conformance suite commit hash (#23746)
  conformance.py: Collapse the summary paragraph when nothing changed (#23745)
  [ty] Make inferred specializations line up with source types more better (#23715)
  Bump 0.15.5 (#23743)
  [ty] Render all changed diagnostics in conformance.py (#23613)
  [ty] Split deferred checks out of `types/infer/builder.rs` (#23740)
  Discover markdown files by default in preview mode (#23434)
  [ty] Use `HasOptionalDefinition` for `except` handlers (#23739)
  [ty] Fix precedence of `all` selector in TOML configurations (#23723)
  [ty] Make `all` selector case sensitive (#23713)
  [ty] Add a diagnostic if a `TypeVar` is used to specialize a `ParamSpec`, or vice versa (#23738)
  [ty] Override home directory in ty tests (#23724)
  [ty] More type-variable default validation (#23639)
  [ty] Validate bare ParamSpec usage in type annotations, and support stringified ParamSpecs as the first argument to `Callable` (#23625)
  [ty] Add `all` selector to ty.json's `schema` (#23721)
  [ty] Add quotes to related issues links (#23720)
  [ty] Fix panic on incomplete except handlers (#23708)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Related to settings and configuration ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants