require python>=3.7

This commit is contained in:
Anthony Sottile 2022-07-31 19:38:54 -04:00
parent 6027577d32
commit e94fb10940
76 changed files with 337 additions and 263 deletions

View file

@ -11,12 +11,16 @@ repos:
rev: v3.8.2
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:src', --py36-plus]
args: [
--application-directories, '.:src',
--py37-plus,
--add-import, 'from __future__ import annotations',
]
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 22.6.0
hooks: