Skip to content

Commit

Permalink
cookiecutter: Fix pre-commit CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 5, 2023
1 parent b9f4e4b commit 91bd87f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
python-version: '3.10'
cache: pip
cache-dependency-path: '**/requirements*.txt'
- id: changed-files
uses: tj-actions/changed-files@v36
- uses: pre-commit/action@v3.0.0
with:
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
ci:
autoupdate_schedule: quarterly
skip: [pip-compile]
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand All @@ -15,7 +16,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/jazzband/pip-tools
rev: 6.8.0
rev: 6.13.0
hooks:
- id: pip-compile
name: pip-compile requirements.in
Expand Down

0 comments on commit 91bd87f

Please sign in to comment.