Skip to content

Comments

Don't run the linter ecosystem check on PRs that only touch red-knot crates#15687

Merged
AlexWaygood merged 1 commit intomainfrom
alex/no-redknot-ecosystem
Jan 23, 2025
Merged

Don't run the linter ecosystem check on PRs that only touch red-knot crates#15687
AlexWaygood merged 1 commit intomainfrom
alex/no-redknot-ecosystem

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jan 23, 2025

Summary

At some point we'll hopefully setup a mypy_primer-like check for red-knot. Until that point, however, comments like #15683 (comment) just cause noise and distraction through additional notifications, and it's a waste of our CI minutes.

Test Plan

I used https://codepen.io/mrmlnc/pen/OXQjMe to check that the glob patterns listed here will match a path like crates/ruff_linter/foo.rs but will not match crates/red_knot/foo.rs or crates/red_knot_python_semantic/foo.rs. https://codepen.io/mrmlnc/pen/OXQjMe is linked to from the README of https://github.com/tj-actions/changed-files/tree/v45/ as a tool you can use to test glob patterns passed as inputs to the changed-files GitHub action.

@AlexWaygood AlexWaygood added ci Related to internal CI tooling ty Multi-file analysis & type inference labels Jan 23, 2025
@AlexWaygood AlexWaygood merged commit 84301a7 into main Jan 23, 2025
21 checks passed
@AlexWaygood AlexWaygood deleted the alex/no-redknot-ecosystem branch January 23, 2025 10:47
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

dcreager added a commit that referenced this pull request Jan 24, 2025
* main:
  [red-knot] MDTests: Do not depend on precise public-symbol type inference (#15691)
  [red-knot] Make `infer.rs` unit tests independent of public symbol inference (#15690)
  Tidy knot CLI tests (#15685)
  [red-knot] Port comprehension tests to Markdown (#15688)
  Create Unknown rule diagnostics with a source range (#15648)
  [red-knot] Port 'deferred annotations' unit tests to Markdown (#15686)
  [red-knot] Support custom typeshed Markdown tests (#15683)
  Don't run the linter ecosystem check on PRs that only touch red-knot crates (#15687)
  Add `rules` table to configuration (#15645)
  [red-knot] Make `Diagnostic::file` optional (#15640)
  [red-knot] Add test for nested attribute access (#15684)
  [red-knot] Anchor relative paths in configurations (#15634)
  [`pyupgrade`] Handle multiple base classes for PEP 695 generics (`UP046`) (#15659)
  [`pyflakes`] Treat arguments passed to the `default=` parameter of `TypeVar` as type expressions (`F821`) (#15679)
  Upgrade zizmor to the latest version in CI (#15649)
  [`pyupgrade`] Add rules to use PEP 695 generics in classes and functions (`UP046`, `UP047`) (#15565)
  [red-knot] Ensure a gradual type can always be assigned to itself (#15675)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants