Update syntax to Python3.7+.

This commit is contained in:
Hasan Ramezani
2021-12-25 21:25:42 +01:00
parent 5599c5ad45
commit 3d7cd77017
8 changed files with 11 additions and 33 deletions

View File

@@ -32,12 +32,12 @@ repos:
rev: v2.6.0
hooks:
- id: reorder-python-imports
args: ['--application-directories=.:src', --py36-plus]
args: ['--application-directories=.:src', --py37-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.1
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.0
hooks: