fix annotations

dev
Dmitry Titov 3 years ago
parent ed1832b6f1
commit 228ac4fb60

@ -18,7 +18,6 @@ repos:
hooks:
- id: reorder-python-imports
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
args: [--py38-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.4.0
hooks:

@ -1,5 +1,3 @@
from __future__ import annotations
from django.apps import AppConfig

Loading…
Cancel
Save