Skip to content

Commit

Permalink
Remove no-commit-to-branch pre-commit hook (#40)
Browse files Browse the repository at this point in the history
Summary:
This hook is useful in general, but it cannot work in our current ShipIt setup since ShipIt always commits to the `main` branch (instead of merging PRs in there). The CI checks have been failing on the past 3 commits to `main`  because of that

![image](https://github.com/pytorch-labs/torchcodec/assets/1190450/d72417f4-26cb-4001-8f1d-9390e5a652fa)

Pull Request resolved: #40

Reviewed By: ahmadsharif1

Differential Revision: D58726237

Pulled By: NicolasHug

fbshipit-source-id: 587b2f4621c1591634421d436097e5cd2340879c
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Jun 18, 2024
1 parent 7c72351 commit de240a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ repos:
- id: mixed-line-ending
args: [--fix=lf]
- id: end-of-file-fixer
- id: no-commit-to-branch
args: ['--branch=main']
- id: check-added-large-files
args: ['--maxkb=1000']

Expand Down

0 comments on commit de240a4

Please sign in to comment.