Skip to content

Commit

Permalink
Reinstate ufmt pre commit hook (pytorch#180)
Browse files Browse the repository at this point in the history
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: pytorch/torchrec#180

Reviewed By: colin2328

Differential Revision: D35197897

Pulled By: s4ayub

fbshipit-source-id: 5c024fbff1eddef523ef97bb95faca250ecb1ac4
  • Loading branch information
zhiqwang authored and facebook-github-bot committed Mar 29, 2022
1 parent b121fab commit 60f3036
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ repos:
exclude: packaging/.*
- id: end-of-file-fixer

# TODO: re-enable after https://github.com/omnilib/ufmt/issues/56 is resolved
# - repo: https://github.com/omnilib/ufmt
# rev: v1.3.0
# hooks:
# - id: ufmt
# additional_dependencies:
# - black == 21.9b0
# - usort == 0.6.4
- repo: https://github.com/omnilib/ufmt
rev: v1.3.2
hooks:
- id: ufmt
additional_dependencies:
- black == 21.9b0
- usort == 0.6.4

0 comments on commit 60f3036

Please sign in to comment.