black/.github/ISSUE_TEMPLATE/bug_report.md
Richard Si e401b6bb1e
Remove Python 2 support (#2740)
*blib2to3's support was left untouched because: 1) I don't want to touch
parsing machinery, and 2) it'll allow us to provide a more useful error
message if someone does try to format Python 2 code.
2022-01-10 04:16:30 -08:00

1.5 KiB

name about title labels assignees
Bug report Create a report to help us improve Black's quality T: bug

Describe the bug

To Reproduce

For example, take this code:

this = "code"

And run it with these arguments:

$ black file.py --target-version py39

The resulting error is:

cannot format file.py: INTERNAL ERROR: ...

Expected behavior

Environment

  • Black's version:
  • OS and Python version:

Additional context