Skip to content

Commit 72f246b

Browse files
authored
Updating the revision of pre-commit hook (#239)
* Updating the revision of the pre-commit hook that checks the version of the template being used. * Addressing a breaking change in Pydantic that causes Copier to fail.
1 parent e7dcc37 commit 72f246b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
sudo apt-get update
8989
python -m pip install --upgrade pip
9090
python -m pip install copier mypy
91+
python -m pip install -U 'pydantic<2'
9192
9293
- name: Generate package
9394
run: |

python-project-template/.pre-commit-config.yaml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
# This hook should always pass. It will print a message if the local version
55
# is out of date.
66
- repo: https://github.com/lincc-frameworks/pre-commit-hooks
7-
rev: v0.1
7+
rev: v0.1.1
88
hooks:
99
- id: check-lincc-frameworks-template-version
1010
name: Check template version

0 commit comments

Comments
 (0)