File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Pre-commit hooks for PCDS projects (https://pre-commit.com/)
1212
1313If ` .pre-config-config.yaml ` does not already exist in the repository, copy
1414the 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 `
1616file 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```
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 33
44__version__ = get_versions ()['version' ]
55del get_versions
6-
7- from . import _version
8- __version__ = _version .get_versions ()['version' ]
You can’t perform that action at this time.
0 commit comments