formatter
Here are 1,244 public repositories matching this topic...
-
Updated
Apr 13, 2022 - Python
Running a simple script like:
#!/bin/bash
echo a
through shfmt -mn
yields:
echo a
The shebang is stripped out (like a comment) which isn't ideal.
Thanks for the otherwise great library!
Good evening!
This is a feature request (AFAIKT there's no configuration option or duplicate issue for this).
In many cases where nightly rustfmt is applied by CI in public repositories, users will often run cargo fmt
themselves directly or through their editor causing warnings arising from using the stable rustfmt where the nightly is required. E.g.:
$ cargo fmt
Warning
-
Updated
Apr 13, 2022 - TypeScript
-
Updated
Apr 6, 2022 - Python
-
Updated
Apr 8, 2022 - TypeScript
-
Updated
Apr 12, 2022 - JavaScript
-
Updated
Apr 11, 2022 - Java
-
Updated
Apr 15, 2022 - Ruby
-
Updated
Nov 7, 2021 - Vim script
-
Updated
Nov 14, 2021 - Swift
GDPR compliance
If the used match
with not a lot of content, it is formatted as one line which is really tricky to read.
Prettier 2.6.2
PHP Plugin 0.18.4
{
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": true,
"phpVersion": "8.1",
"trailingCommaPHP": true,
"braceStyle": "psr-2",
"requirePragma": false,
"insertPragma": false
}
**Inpu
-
Updated
Apr 12, 2022 - C#
-
Updated
Mar 23, 2022 - Haskell
-
Updated
Apr 16, 2022 - Rust
-
Updated
Jan 26, 2022 - TypeScript
Update README.md
We need to update our README.md file before the 1.0 release.
-
Updated
Mar 31, 2022 - JavaScript
-
Updated
Apr 8, 2022 - Go
Improve this page
Add a description, image, and links to the formatter topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the formatter topic, visit your repo's landing page and select "manage topics."
Perhaps we should document this issue in the FAQ? Using pre-commit with Black is pretty common (and it's not always instantly clear it passes all of the files to the hook directly bypassing any file discovery the hook may implement). I'd suggest pre-commit's exclude configurations first, and then black's force-exclude.
_Originally posted by @ichard26 in psf/black#3013