Skip to content

Commit 60f3036

Browse files
zhiqwangfacebook-github-bot
authored andcommitted
Reinstate ufmt pre commit hook (#180)
Summary: Since omnilib/ufmt#56 is resolved, so I re-enable this hook, and upgrade it to v1.3.2 as pytorch/vision#5460 . Pull Request resolved: #180 Reviewed By: colin2328 Differential Revision: D35197897 Pulled By: s4ayub fbshipit-source-id: 5c024fbff1eddef523ef97bb95faca250ecb1ac4
1 parent b121fab commit 60f3036

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ repos:
77
exclude: packaging/.*
88
- id: end-of-file-fixer
99

10-
# TODO: re-enable after https://github.com/omnilib/ufmt/issues/56 is resolved
11-
# - repo: https://github.com/omnilib/ufmt
12-
# rev: v1.3.0
13-
# hooks:
14-
# - id: ufmt
15-
# additional_dependencies:
16-
# - black == 21.9b0
17-
# - usort == 0.6.4
10+
- repo: https://github.com/omnilib/ufmt
11+
rev: v1.3.2
12+
hooks:
13+
- id: ufmt
14+
additional_dependencies:
15+
- black == 21.9b0
16+
- usort == 0.6.4

0 commit comments

Comments
 (0)