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.
1 # Note: don't use this config for your own repositories. Instead, see
2 # "Version control integration" in docs/integrations/source_version_control.md
3 exclude: ^(src/blib2to3/|profiling/|tests/data/)
11 minimum_pre_commit_version: 2.9.2
13 types_or: [python, pyi]
15 - id: check-pre-commit-rev-in-example
16 name: Check pre-commit rev in example
18 entry: python -m scripts.check_pre_commit_rev_in_example
19 files: '(CHANGES\.md|source_version_control\.md)$'
20 additional_dependencies:
21 &version_check_dependencies [
24 beautifulsoup4==4.9.3,
27 - id: check-version-in-the-basics-example
28 name: Check black version in the basics example
30 entry: python -m scripts.check_version_in_basics_example
31 files: '(CHANGES\.md|the_basics\.md)$'
32 additional_dependencies: *version_check_dependencies
34 - repo: https://gitlab.com/pycqa/flake8
38 additional_dependencies: [flake8-bugbear]
40 - repo: https://github.com/pre-commit/mirrors-mypy
44 exclude: ^docs/conf.py
45 additional_dependencies:
46 - types-dataclasses >= 0.1.3
48 - tomli >= 0.2.6, < 2.0.0
49 - types-typed-ast >= 1.4.1
51 - platformdirs >= 2.1.0
53 - repo: https://github.com/pre-commit/mirrors-prettier
57 exclude: ^Pipfile\.lock
59 - repo: https://github.com/pre-commit/pre-commit-hooks
62 - id: end-of-file-fixer
63 - id: trailing-whitespace