-
Notifications
You must be signed in to change notification settings - Fork 35
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
Seeing "files would be reformatted" false positive #11
Comments
We noticed the same issue yesterday, where I work. |
It seem to be more related to the black project itself? |
The behavior sounds similar to psf/black#1140 where the problem is a mismatch of black versions in CI and local environments. If it is, the suggestion for simple fix is to upgrade the version of the locally installed black. |
Sounds like the right way to go. |
@Gowee This issue is indeed fixed when I update the black version to |
Maybe we should put a quick note in the README.md stating that the action uses the latest stable release of black. Alternativelly we can also specify a specific version in the |
Hi,
Something weird started happening today: the workflow job
is failing over:
When running
black . -l 120 --exclude ".*/node_modules/.*"
in the project root dir, I'm getting the expected output:The text was updated successfully, but these errors were encountered: