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

cache defeats flake8-executable #3086

Closed
dimbleby opened this issue Feb 21, 2023 · 1 comment · Fixed by #3104
Closed

cache defeats flake8-executable #3086

dimbleby opened this issue Feb 21, 2023 · 1 comment · Fixed by #3104
Assignees
Labels
bug Something isn't working

Comments

@dimbleby
Copy link

$ ruff .
foo.py::1:3: EXE001 Shebang is present but file is not executable
Found 1 error.

$ chmod +x foo.py

$ ruff .
foo.py::1:3: EXE001 Shebang is present but file is not executable
Found 1 error.

Need to clear the ruff cache to get it to notice that this is fixed.

@charliermarsh charliermarsh added the bug Something isn't working label Feb 21, 2023
@charliermarsh charliermarsh self-assigned this Feb 21, 2023
@charliermarsh
Copy link
Member

We need to use ctime on Unix platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants