-
Notifications
You must be signed in to change notification settings - Fork 10
Ruff #279
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
Ruff #279
Conversation
do you get notifications if a workflow fails? |
Just a suggestion: should the pull requests be accepted if the checks do not pass? |
Yes |
I fully agree. I tested this PR locally, ruff showed "All checks passed!". I don't know if it's possible, or if it's some mistake I'm not seeing, but it looks like locally ruff understands |
For some reason, I thought Windows runners for Github Actions were not available for free, so I chose Ubuntu latest (24.04). But it looks like they are. As this projet is pretty specific to Windows, it does not really make sense to use something else for Actions.The difference in OS might explain the different behavior (or ruff's version?) |
Okay, I was just wondering, I won’t be old auntie and resend them 😀
Blocking errors: like compile errors, I would reject unless there’s a note for a reason why, like “help me”.
Regarding the workflow server type, it’s been my experience that it can take considerable amount of time to get a handle on a windows server. Workflow’s are free up to a cap, note that windows server time costs are double that of ubuntu. |
I think Ubuntu is ok for ruff, especially since it detected the error better than on windows. |
Added ruff configuration to
pyproject.toml
and.pre-commit-config.yaml
and formatted files