Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check pyproject.toml correctly when it is passed via stdin #16971

Merged
merged 6 commits into from
Mar 27, 2025

Conversation

InSyncWithFoo
Copy link
Contributor

@InSyncWithFoo InSyncWithFoo commented Mar 25, 2025

Summary

Resolves #16950 and a 1.5-year-old TODO comment.

After this change, a pyproject.toml will be linted the same as any Python files would when passed via stdin.

Test Plan

Integration tests.

Copy link
Contributor

github-actions bot commented Mar 25, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the cli Related to the command-line interface label Mar 27, 2025
@MichaReiser MichaReiser merged commit 6ef5221 into astral-sh:main Mar 27, 2025
22 checks passed
@InSyncWithFoo InSyncWithFoo deleted the pyproject-toml-stdin branch March 27, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command-line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pyproject.toml is ignored when passed via stdin
2 participants