Skip to content

Commit

Permalink
Update pre-commit hook [skip ci]
Browse files Browse the repository at this point in the history
- don't pass filenames since it would break CLI
- update files filter
  • Loading branch information
atugushev committed Feb 11, 2020
1 parent 659fbdc commit 14f4593
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
description: Automatically compile requirements.
entry: pip-compile
language: python
files: (^pyproject\.toml|requirements\.in|^setup\.(cfg|py))$
files: ^requirements\.(in|txt)$
pass_filenames: false

0 comments on commit 14f4593

Please sign in to comment.