-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
How to pass arguments to ruff? #1609
Comments
just like other scripts: |
-- doesn't seem to be working on windows, at least:
|
I'm also seeing the same on linux |
Ok, I'll look into customizing the fmt command, thanks. I'm also having the same -- issue with hatch run. After defining an env named 'check', hatch run isn't passing arguments through. Note, ruff here is not defined as a script in pyproject.toml script, it is the actual ruff command that is being invoked.
|
the check command appears to have no such option, argument passing is working properly |
Apologies, my error. I was confused by the error message. |
no worries! |
When run in CI, I need to run the equivalent of 'ruff --output-format=gitlab'. Is there a way to pass this parameter to hatch fmt?
We don't want to use that parameter in normal use, only CI.
Thanks!
The text was updated successfully, but these errors were encountered: