]>
git.madduck.net Git - etc/vim.git/blobdiff - README.md
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
Python versions that should be supported by
Black's output. [default: per-file auto-
detection]
Python versions that should be supported by
Black's output. [default: per-file auto-
detection]
+ --py36 Allow using Python 3.6-only syntax on all
+ input files. This will put trailing commas
+ in function signatures and calls also after
+ *args and **kwargs. Deprecated; use
+ --target-version instead. [default: per-file
+ auto-detection]
--pyi Format all input files like typing stubs
regardless of file extension (useful when
piping source on standard input).
--pyi Format all input files like typing stubs
regardless of file extension (useful when
piping source on standard input).
```toml
[tool.black]
line-length = 88
```toml
[tool.black]
line-length = 88
-target_ version = ['py37']
+target- version = ['py37']
include = '\.pyi?$'
exclude = '''
include = '\.pyi?$'
exclude = '''
Use [proofit404/blacken](https://github.com/proofit404/blacken).
Use [proofit404/blacken](https://github.com/proofit404/blacken).
+### PyCharm/IntelliJ IDEA
%LocalAppData%\Programs\Python\Python36-32\Scripts\black.exe # possible location
```
%LocalAppData%\Programs\Python\Python36-32\Scripts\black.exe # possible location
```
-3. Open External tools in PyCharm
+3. Open External tools in PyCharm/IntelliJ IDEA
passed). *Black* will still emit messages on stderr but that shouldn't
affect your use case.
passed). *Black* will still emit messages on stderr but that shouldn't
affect your use case.
-This can be used for example with PyCharm's [File Watchers](https://www.jetbrains.com/help/pycharm/file-watchers.html).
+This can be used for example with PyCharm's or IntelliJ's [File Watchers](https://www.jetbrains.com/help/pycharm/file-watchers.html).
+### 19.3b1
+
+* fix bug that led *Black* format some code with a line length target of 1
+ (#762)
+
### 19.3b0
* new option `--target-version` to control which Python versions
*Black*-formatted code should target (#618)
### 19.3b0
* new option `--target-version` to control which Python versions
*Black*-formatted code should target (#618)
-* remov ed `--py36` (use `--target-version=py36` instead) (#724)
+* deprecat ed `--py36` (use `--target-version=py36` instead) (#724)
* *Black* no longer normalizes numeric literals to include `_` separators (#696)
* *Black* no longer normalizes numeric literals to include `_` separators (#696)
* *Black* now properly formats multiple files in parallel on
Windows (#632)
* *Black* now properly formats multiple files in parallel on
Windows (#632)
+* *Black* now creates cache files atomically which allows it to be used
+ in parallel pipelines (like `xargs -P8`) (#673)
+
+* *Black* now correctly indents comments in files that were previously
+ formatted with tabs (#262)
+
* `blackd` now supports CORS (#622)
### 18.9b0
* `blackd` now supports CORS (#622)
### 18.9b0