You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug black reports an internal error when formatting a specific file.
error: cannot format /home/nicpa/codes/sisl/src/sisl_toolbox/siesta/minimizer/_metric_siesta.py: INTERNAL ERROR: Black produced code that is not equivalent to the source. Please report a bug on https://github.com/psf/black/issues. This diff might be helpful: /tmp/blk__3mh1ucd.log
error: cannot format /home/nicpa/codes/sisl/src/sisl_toolbox/siesta/minimizer/_metric_siesta.py: INTERNAL ERROR: Black produced code that is not equivalent to the source. Please report a bug on https://github.com/psf/black/issues. This diff might be helpful: /tmp/blk__3mh1ucd.log
Python does not consider f-strings to be docstrings, so we probably
shouldn't be formatting them as such
Fixespsf#4018
Despite its name, I think docstring_preview.py might be testing stable
style, which this unfortunately does change
Python does not consider f-strings to be docstrings, so we probably
shouldn't be formatting them as such
Fixes#4018
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Describe the bug
black
reports an internal error when formatting a specific file.To Reproduce
black
on the file. (I have donepip install -U black
as of today!)My pyproject.toml configuration file has this:
The resulting error is:
Here is the attached diff-log file:
Expected behavior
Environment
Black's version:
OS and Python version: Linux/debian, Python 3.11.6
The text was updated successfully, but these errors were encountered: