summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-30 10:54:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-30 10:54:52 +0000
commit3c757c77ff9e4a05c32cf83b31978af92b7bfecf (patch)
treedaca269ce5b47e67d1eedd269b322adff593e24f /.pre-commit-config.yaml
parentReleasing debian version 2.4.4-1. (diff)
downloadidentify-3c757c77ff9e4a05c32cf83b31978af92b7bfecf.tar.xz
identify-3c757c77ff9e4a05c32cf83b31978af92b7bfecf.zip
Merging upstream version 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: