Skip to content

Commit c10c00a

Browse files
committed
Add flynt as pre-commit hook
1 parent 3e97cba commit c10c00a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ repos:
3737
- id: pyupgrade
3838
args: [--py36-plus]
3939

40+
# Always convert to fstrings
41+
- repo: https://github.com/ikamensh/flynt/
42+
rev: "0.76"
43+
hooks:
44+
- id: flynt
45+
4046
# Nicely sort includes
4147
- repo: https://github.com/PyCQA/isort
4248
rev: 5.10.1

0 commit comments

Comments
 (0)