Skip to content

Commit 5990a00

Browse files
henryiiiandrzejnovak
authored andcommitted
style: from __future__ import annotations enforced
1 parent c559198 commit 5990a00

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ repos:
2020
rev: 5.10.1
2121
hooks:
2222
- id: isort
23+
args: ["-a", "from __future__ import annotations"]
2324

2425
- repo: https://github.com/asottile/pyupgrade
2526
rev: v2.31.0

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# list see the documentation:
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

7+
from __future__ import annotations
8+
79
# -- Path setup --------------------------------------------------------------
810
import importlib
911
import inspect

0 commit comments

Comments
 (0)