Skip to content

Commit 8375035

Browse files
author
Roald Ruiter
committed
add pinned documentation
1 parent 5023545 commit 8375035

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

forTwinCatRepos/.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ repos:
2626
# --target-version: Set a version that you want the tsproj file to have
2727
# --fix: Fix the version numbers if a target version is set
2828
# --reason: Add a reason to the error message in case of a non-matching version.
29-
# Uncomment this to use all arguments and/or remove the ones you don't need
30-
# args: [--target-version=3.1.4024.20, --fix, --reason="This version has a crucial new feature"]
29+
# --pinned: Require the TwinCAT version to be pinned. Apply pinning if combined with --fix.
30+
# --no-pinned: Require the TwinCAT version to not be pinned. Remove pinning if combined with --fix.
31+
args: [--target-version=3.1.4024.20, --pinned, --fix, --reason="This version has a crucial new feature"]
3132
# Optional, if you use pytmc to generate EPICS IOCs:
3233
# - id: pytmc-pragma-linter

0 commit comments

Comments
 (0)