We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7301c5 + 53c5e35 commit eb611daCopy full SHA for eb611da
2 files changed
.pre-commit-hooks.yaml
@@ -33,3 +33,10 @@
33
entry: check-fixed-library-versions
34
language: python
35
files: .*\.plcproj$
36
+- id: pytmc-pragma-linter
37
+ name: pytmc-pragma-linter
38
+ description: Lint pytmc pragmas
39
+ entry: bash -c 'set -ex; for fn in "$@"; do pytmc pragmalint "$fn"; done' --
40
+ language: python
41
+ files: .*\.(TcPOU|TcGVL|TcDUT)$
42
+ additional_dependencies: ["pytmc"]
forTwinCatRepos/.pre-commit-config.yaml
@@ -15,3 +15,5 @@ repos:
15
- id: twincat-lineids-remover
16
- id: twincat-xml-format
17
- id: check-fixed-library-versions
18
+ # Optional, if you use pytmc to generate EPICS IOCs:
19
+ # - id: pytmc-pragma-linter
0 commit comments