-
-
Notifications
You must be signed in to change notification settings - Fork 909
Closed
Labels
Description
Looking at this line it looks to be testing for the presence of a dot in the version number
pre-commit/pre_commit/clientlib.py
Line 124 in d827e9a
| if '.' not in rev and not re.match(r'^[a-fA-F0-9]+$', rev): |
v1/v2 model?
I'm using this repo https://gitlab.salort.eu/jsalort/latexhook/-/tags which has a v1 tag. My .pre-commit-config.yaml looks like this:
repos:
- repo: https://gitlab.salort.eu/jsalort/latexhook
rev: v1
hooks:
- id: latexindent
This means every time i commit I get this error at the top

My version is pre-commit==2.10.1 and I don't think this used to happen