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

Collapse projects in Rye lint command #974

Closed
wants to merge 2 commits into from

Conversation

cnpryer
Copy link
Contributor

@cnpryer cnpryer commented Apr 1, 2024

Closes #973

This PR just dedups the projects collected for the lint command by their workspace paths.

I may be missing something, but I figured I could share this since I was checking the code out anyway.

@cnpryer
Copy link
Contributor Author

cnpryer commented Apr 1, 2024

This might make sense for rye lint --all but not rye lint. I can try to look at it more this week, but feel free to beat me to it.

@cnpryer
Copy link
Contributor Author

cnpryer commented Apr 1, 2024

The way I'm currently doing the dedup might produce unintended results as well, so it'd need to not just dedup-by but collect into the unique paths. It depends on the order of the projects vec IIUC.

@cnpryer
Copy link
Contributor Author

cnpryer commented Apr 24, 2024

I'll come back to this

@cnpryer cnpryer closed this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rye lint command emits redundant output in workspaces
1 participant