Skip to content

Commit 86e3001

Browse files
authored
Merge pull request #150 from Preocts/preocts
Include __future__.annotations import
2 parents 1a91a81 + 6971409 commit 86e3001

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ repos:
1717
rev: 5.13.2
1818
hooks:
1919
- id: isort
20-
args: ["--profile", "black", "--force-single-line-imports"]
20+
args:
21+
- "--force-single-line-imports"
22+
- "--add-import"
23+
- "from __future__ import annotations"
24+
- "--profile"
25+
- "black"
2126

2227
# Format code. No, I don't like everything black does either.
2328
- repo: https://github.com/psf/black-pre-commit-mirror

0 commit comments

Comments
 (0)