summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-22 10:53:02 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-27 21:23:42 +0100
commit61730103523f5f315cf5ba3b5b29fedc73323795 (patch)
treeb90f13eb0ab164baf87373ecf21ad58dd85c654d /.pre-commit-config.yaml
parent3ef6aa6b498cb4286c803e6b3dd7c1cdd4bbf26f (diff)
downloadastroid-git-61730103523f5f315cf5ba3b5b29fedc73323795.tar.gz
Update pre-commit config
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9ba53749..f084f44f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,13 +1,14 @@
repos:
- repo: https://github.com/ambv/black
- rev: 18.6b4
+ rev: 20.8b1
hooks:
- id: black
args: [--safe, --quiet]
- exclude: tests/testdata
- python_version: python3.6
+ exclude: tests/testdata|doc/
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v1.2.3
+ rev: v3.4.0
hooks:
- - id: trailing-whitespace
- - id: end-of-file-fixer
+ - id: trailing-whitespace
+ exclude: .github/|tests/testdata
+ - id: end-of-file-fixer
+ exclude: tests/testdata