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: ^(profiling/|tests/data/)
7 - id: check-pre-commit-rev-in-example
8 name: Check pre-commit rev in example
10 entry: python -m scripts.check_pre_commit_rev_in_example
11 files: '(CHANGES\.md|source_version_control\.md)$'
12 additional_dependencies:
13 &version_check_dependencies [
16 beautifulsoup4==4.9.3,
19 - id: check-version-in-the-basics-example
20 name: Check black version in the basics example
22 entry: python -m scripts.check_version_in_basics_example
23 files: '(CHANGES\.md|the_basics\.md)$'
24 additional_dependencies: *version_check_dependencies
26 - repo: https://github.com/pycqa/isort
31 - repo: https://github.com/pycqa/flake8
35 additional_dependencies:
37 - flake8-comprehensions
39 exclude: ^src/blib2to3/
41 - repo: https://github.com/pre-commit/mirrors-mypy
45 exclude: ^docs/conf.py
46 args: ["--config-file", "pyproject.toml"]
47 additional_dependencies:
49 - tomli >= 0.2.6, < 2.0.0
50 - click >= 8.1.0, != 8.1.4, != 8.1.5
52 - platformdirs >= 2.1.0
60 - repo: https://github.com/pre-commit/mirrors-prettier
64 exclude: \.github/workflows/diff_shades\.yml
66 - repo: https://github.com/pre-commit/pre-commit-hooks
69 - id: end-of-file-fixer
70 - id: trailing-whitespace
73 autoupdate_schedule: quarterly