]> git.madduck.net Git - etc/vim.git/blob - .pre-commit-hooks.yaml

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:

Upgrade mypy (#3864)
[etc/vim.git] / .pre-commit-hooks.yaml
1 # Note that we recommend using https://github.com/psf/black-pre-commit-mirror instead
2 # This will work about 2x as fast as using the hooks in this repository
3 - id: black
4   name: black
5   description: "Black: The uncompromising Python code formatter"
6   entry: black
7   language: python
8   minimum_pre_commit_version: 2.9.2
9   require_serial: true
10   types_or: [python, pyi]
11 - id: black-jupyter
12   name: black-jupyter
13   description:
14     "Black: The uncompromising Python code formatter (with Jupyter Notebook support)"
15   entry: black
16   language: python
17   minimum_pre_commit_version: 2.9.2
18   require_serial: true
19   types_or: [python, pyi, jupyter]
20   additional_dependencies: [".[jupyter]"]