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

Ability to easily chain built-in rye commands, e.g., rye lint #1036

Open
linjer opened this issue Apr 23, 2024 · 0 comments
Open

Ability to easily chain built-in rye commands, e.g., rye lint #1036

linjer opened this issue Apr 23, 2024 · 0 comments

Comments

@linjer
Copy link

linjer commented Apr 23, 2024

Currently interested in chaining or extending the rye lint command to also perform typechecking. For example:

[tool.rye.scripts]
typecheck = "mypy mymodule"
check = { chain = ["rye lint", "typecheck"] }
linter = "lint"  # also fails

This seems to fail because rye is not available in the environment. I also could not find any documentation on if I could customize the lint command.

Suggestion

Make rye native commands accessible to scripts.

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

No branches or pull requests

1 participant