-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi! I had a lot of headaches with a EXE001 rule that was failing locally but not on CI.
I finally found out that ubuntu-slim runner was the issue: I get the expect behavior on ubuntu-latest.
As mentioned in the doc, these runners are not within a VM but just a container. There is an open issue about EXE001 behavior not running on windows/WSL (see also astral-sh/ruff#7994). So my guess is that the os behind ubuntu-slim container actually runs windows (or is detected as such by ruff), which makes ruff disables EXE001.
You can have a look at ogauthe/my-ruff-issue#1 for a full example: the very same workflows passes on ubuntu-slim but fails on ubuntu-latest.
My question: is there a way to get the ruff-action to run EXE001 on ubuntu-slim?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels