diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 525e045..11a1839 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,9 +26,11 @@ repos: - id: cpplint - id: include-what-you-use - - repo: local + - repo: https://github.com/jazzband/pip-tools + rev: 7.4.1 hooks: - - id: freeze-requirements + - id: pip-compile + # - id: freeze-requirements name: freeze requirements entry: bash test.sh language: system diff --git a/test.sh b/test.sh index ade6b8e..770574d 100644 --- a/test.sh +++ b/test.sh @@ -20,7 +20,6 @@ function check_branch_name() { function main() { check_branch_name - pip install pip-tools --upgrade export -f freeze find . -name "requirements.txt" | xargs -n 1 -I {} bash -c 'freeze "$@"' _ {} exit 1