X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/125ed5b2601f0e74ded03b666132e3c37ae8af07..8d8b3d18059b7f11871eaa376c288f14549dd342:/.pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 48a7429..be60ff2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ # Note: don't use this config for your own repositories. Instead, see -# "Version control integration" in README.md. +# "Version control integration" in docs/integrations/source_version_control.md exclude: ^(src/blib2to3/|profiling/|tests/data/) repos: - repo: local @@ -13,13 +13,13 @@ repos: types_or: [python, pyi] - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + rev: 3.9.0 hooks: - id: flake8 additional_dependencies: [flake8-bugbear] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.780 + rev: v0.812 hooks: - id: mypy exclude: ^docs/conf.py @@ -28,4 +28,9 @@ repos: rev: v2.2.1 hooks: - id: prettier - args: [--prose-wrap=always, --print-width=88] + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace