Skip to content

Commit 4e4bdff

Browse files
committed
updated doc versions
1 parent a47ce69 commit 4e4bdff

4 files changed

Lines changed: 90 additions & 254 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pre-commit hooks for PCDS projects (https://pre-commit.com/)
1212

1313
If `.pre-config-config.yaml` does not already exist in the repository, copy
1414
the appropriate file from this repository to the top-level of your local
15-
repository, or add the folowing to an existing `.pre-config-config.yaml`
15+
repository, or add the folowing to an existing `.pre-config-config.yaml`
1616
file and commit the addition.
1717

1818
```yaml
@@ -25,13 +25,14 @@ repos:
2525
files: \.(TcPOU|TcDUT|TcGVL)$
2626

2727
- repo: https://github.com/pcdshub/pre-commit-hooks.git
28-
rev: v1.4.0
28+
rev: v1.5.0
2929
hooks:
3030
- id: twincat-leading-tabs-remover
3131
- id: twincat-lineids-remover
3232
- id: twincat-xml-format
3333
- id: check-fixed-library-versions
3434
- id: no-product-version
35+
- id: twincat-st-newline
3536
# Optional, if you use pytmc to generate EPICS IOCs:
3637
# - id: pytmc-pragma-linter
3738
```

forTwinCatRepos/.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ repos:
99
files: \.(TcPOU|TcDUT|TcGVL)$
1010

1111
- repo: https://github.com/pcdshub/pre-commit-hooks.git
12-
rev: v1.4.0
12+
rev: v1.5.0
1313
hooks:
1414
- id: twincat-leading-tabs-remover
1515
- id: twincat-lineids-remover
1616
- id: twincat-xml-format
1717
- id: check-fixed-library-versions
1818
- id: no-product-version
19+
- id: twincat-st-newline
1920
# Optional, if you use pytmc to generate EPICS IOCs:
2021
# - id: pytmc-pragma-linter

pre_commit_hooks/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@
33

44
__version__ = get_versions()['version']
55
del get_versions
6-
7-
from . import _version
8-
__version__ = _version.get_versions()['version']

0 commit comments

Comments
 (0)