Merge pull request #1633 from PyCQA/py37-plus

require python>=3.7
This commit is contained in:
Anthony Sottile 2022-08-27 20:34:38 -04:00 committed by GitHub
commit a929f124c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: