summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-30 10:54:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-30 10:54:48 +0000
commit9a5dc86a762d9e52e9dc0b8638d9bc3f3aa2a228 (patch)
tree92e99e3f760189cc29bb7be356431a1691bfeec2 /.pre-commit-config.yaml
parentAdding upstream version 2.4.4. (diff)
downloadidentify-9a5dc86a762d9e52e9dc0b8638d9bc3f3aa2a228.tar.xz
identify-9a5dc86a762d9e52e9dc0b8638d9bc3f3aa2a228.zip
Adding upstream version 2.4.6.upstream/2.4.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 11d1fd8..49ebe49 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,7 +19,7 @@ repos:
hooks:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
- additional_dependencies: [flake8-typing-imports==1.10.1]
+ additional_dependencies: [flake8-typing-imports==1.12.0]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
hooks:
@@ -28,7 +28,7 @@ repos:
rev: v2.6.0
hooks:
- id: reorder-python-imports
- args: [--py3-plus]
+ args: [--py37-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.1
hooks:
@@ -38,7 +38,7 @@ repos:
rev: v2.31.0
hooks:
- id: pyupgrade
- args: [--py36-plus]
+ args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
hooks: