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

Autofix does not work with "black" formatter if black formatter changes nothing #427

Open
eugenenelou opened this issue Feb 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eugenenelou
Copy link

If the autofixed changes are compatible with black, black raises an error and the fix are dropped:

File "src/black/__init__.py", line 1023, in format_file_contents
  black.report.NothingChanged
@amyreese amyreese added the bug Something isn't working label Feb 29, 2024
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

No branches or pull requests

2 participants