summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorTzu-ping Chung <uranusjr@gmail.com>2022-07-18 14:33:12 +0800
committerTzu-ping Chung <uranusjr@gmail.com>2022-07-18 15:13:12 +0800
commit360b96305aa673b4dee277059717fb87ac55088c (patch)
tree0e1ba70195a0f6ea3f775f39e4d72a6a7bfa4625 /.pre-commit-config.yaml
parenta7a35dc20d7d0f1f5d1862ebca7b12c5a40bfd03 (diff)
downloadpip-360b96305aa673b4dee277059717fb87ac55088c.tar.gz
Upgrade pre-commit hooks
Also fix some Mypy errors newly found with upgrade.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4d88637ff..6dde3d6ff 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@ exclude: 'src/pip/_vendor/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.2.0
+ rev: v4.3.0
hooks:
- id: check-builtin-literals
- id: check-added-large-files
@@ -17,7 +17,7 @@ repos:
exclude: .patch
- repo: https://github.com/psf/black
- rev: 22.3.0
+ rev: 22.6.0
hooks:
- id: black
@@ -39,7 +39,7 @@ repos:
files: \.py$
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v0.942
+ rev: v0.961
hooks:
- id: mypy
exclude: tests/data