update pre-commit

This commit is contained in:
Athanasius committed 2021-04-01 14:45:50 +01:00
1 parent 4a1feb4d49
commit 3997dbab3a
1 file changed
+4 -4
+4 -4
View File
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ''
rev: 'v3.4.0'
hooks:
- id: check-merge-conflict
- id: debug-statements
@@ -30,7 +30,7 @@ repos:
types: [ python ]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: ''
rev: 'v1.8.0'
hooks:
- id: python-no-eval
- id: python-no-log-warn
@@ -40,7 +40,7 @@ repos:
# mypy - static type checking
# mypy --follow-imports skip <file>
- repo: https://github.com/pre-commit/mirrors-mypy
rev: ''
rev: 'v0.812'
hooks:
- id: mypy
args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
@@ -59,7 +59,7 @@ repos:
# safety.exe check -r requirements.txt
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: ''
rev: 'v1.2.1'
hooks:
- id: python-safety-dependencies-check
entry: safety