Skip to content
#

pre-commit-hook

Here are 92 public repositories matching this topic...

black
jack1142
jack1142 commented Jun 8, 2021

Describe the bug

"EOF in multi-line statement" error is shown to the user as the raw tuple it was returned as, rather than in a nicely formatted message.

To Reproduce

For example:

  1. Take this (invalid) file:
print(
  1. Run Black on it with no arguments
  2. See a message with the EOF error being shown as a raw tuple representation:
error: cannot format test

Improve this page

Add a description, image, and links to the pre-commit-hook topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pre-commit-hook topic, visit your repo's landing page and select "manage topics."

Learn more