]>
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:
---
_Contents:_ **[Installation and usage](#installation-and-usage)** |
---
_Contents:_ **[Installation and usage](#installation-and-usage)** |
-**[Code style](#the-black-code-style)** | **[Pragmatism](#pragmatism)**
+**[Code style](#the-black-code-style)** | **[Pragmatism](#pragmatism)** |
**[pyproject.toml](#pyprojecttoml)** | **[Editor integration](#editor-integration)** |
**[blackd](#blackd)** | **[Version control integration](#version-control-integration)**
| **[Ignoring unmodified files](#ignoring-unmodified-files)** | **[Used by](#used-by)**
**[pyproject.toml](#pyprojecttoml)** | **[Editor integration](#editor-integration)** |
**[blackd](#blackd)** | **[Version control integration](#version-control-integration)**
| **[Ignoring unmodified files](#ignoring-unmodified-files)** | **[Used by](#used-by)**
_Black_ does make some exceptions to rules it otherwise holds. This section documents
what those exceptions are and why this is the case.
_Black_ does make some exceptions to rules it otherwise holds. This section documents
what those exceptions are and why this is the case.
-### The magic traill ing comma
+### The magic trailing comma
_Black_ in general does not take existing formatting into account.
_Black_ in general does not take existing formatting into account.
To install with [vim-plug](https://github.com/junegunn/vim-plug):
```
To install with [vim-plug](https://github.com/junegunn/vim-plug):
```
+Plug 'psf/black', { 'branch': 'stable' }
```
or with [Vundle](https://github.com/VundleVim/Vundle.vim):
```
or with [Vundle](https://github.com/VundleVim/Vundle.vim):
+and execute the following in a terminal:
+
+```console
+$ cd ~/.vim/bundle/black
+$ git checkout origin/stable -b stable
+```
+
or you can copy the plugin from
or you can copy the plugin from
-[plugin/black.vim](https://github.com/psf/black/tree/master /plugin/black.vim).
+[plugin/black.vim](https://github.com/psf/black/blob/stable /plugin/black.vim).
```
mkdir -p ~/.vim/pack/python/start/black/plugin
```
mkdir -p ~/.vim/pack/python/start/black/plugin
Multiple contributions by:
Multiple contributions by:
-- [Abdur-Rahmaan Janhangeer](mailto:cryptolabour @gmail.com)
+- [Abdur-Rahmaan Janhangeer](mailto:arj.python @gmail.com)
- [Adam Johnson](mailto:me@adamj.eu)
- [Alexander Huynh](mailto:github@grande.coffee)
- [Andrew Thorp](mailto:andrew.thorp.dev@gmail.com)
- [Adam Johnson](mailto:me@adamj.eu)
- [Alexander Huynh](mailto:github@grande.coffee)
- [Andrew Thorp](mailto:andrew.thorp.dev@gmail.com)