The Wayback Machine - https://web.archive.org/web/20201115161615/https://github.com/topics/formatter
Skip to content
#

formatter

Here are 938 public repositories matching this topic...

black
jonathan-s
jonathan-s commented Sep 2, 2020

Describe the bug A clear and concise description of what the bug is.

Running black in the console generates a traceback.

To Reproduce Steps to reproduce the behavior:
Running black directly in the console gives me the following traceback.

Traceback (most recent call last):
  File "/Users/jonathan/projects/recorded/integrations/splunk/venv/bin/black", line 7, in <module>
calebcartwright
calebcartwright commented Oct 20, 2020

#4478 included some initial support for the new ConstBlock expression kind variant, but there's opportunities to enhance and improve the formatting.

The relevant section of the codebase can be found in formatting/expr.rs
https://github.com/rust-lang/rustfmt/blob/cbe01e47024c852e2ed852671e76f7929c4bab91/src/formatting/expr.rs#L127-L129

There are 3 core activities to completing this issue:

Improve this page

Add a description, image, and links to the formatter 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 formatter topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.