]> git.madduck.net Git - etc/vim.git/blob - .pre-commit-config.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:

Fuzzer testing: less strict special-case regex match passthrough for multi-line EOF...
[etc/vim.git] / .pre-commit-config.yaml
1 # Note: don't use this config for your own repositories. Instead, see
2 # "Version control integration" in README.md.
3 exclude: ^(src/blib2to3/|profiling/|tests/data/)
4 repos:
5   - repo: local
6     hooks:
7       - id: black
8         name: black
9         language: system
10         entry: black
11         minimum_pre_commit_version: 2.9.2
12         require_serial: true
13         types_or: [python, pyi]
14
15   - repo: https://gitlab.com/pycqa/flake8
16     rev: 3.8.1
17     hooks:
18       - id: flake8
19         additional_dependencies: [flake8-bugbear]
20
21   - repo: https://github.com/pre-commit/mirrors-mypy
22     rev: v0.780
23     hooks:
24       - id: mypy
25         exclude: ^docs/conf.py
26
27   - repo: https://github.com/pre-commit/mirrors-prettier
28     rev: v2.2.1
29     hooks:
30       - id: prettier
31         args: [--prose-wrap=always, --print-width=88]