Skip to main content

Reusable pre‑commit hooks for TwinCAT projects

Project description

pre-commit-hooks for TwinCAT

Some out-of-the-box pre-commit hooks for TwinCAT.

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-hooks with pre-commit

Add this to your .pre-commit-config.yaml

-   repo: https://github.com/janbirki/pre-commit-hooks.git
    rev: v1.0.0  # Use the ref you want to point at
    hooks:
    -   id: trailing-whitespace
    # -   id: ...

Hooks available

TwinCAT default core settings

This hook is changing the core settings to default by deleting the Element "Settings" inside your *.tsproj file

It's needed to run unit tests in a simulated enviromnent, where the actual available cores doesn't matter.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tc_prcmmt_hks-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tc_prcmmt_hks-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file tc_prcmmt_hks-1.0.1.tar.gz.

File metadata

  • Download URL: tc_prcmmt_hks-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tc_prcmmt_hks-1.0.1.tar.gz
Algorithm Hash digest
SHA256 618f1aa9c97d96537586dc2042705938617e94f888d7bf88a2de1dfa2af98ef7
MD5 20da14518c3ab8e0de0ad6b18e1cc8dd
BLAKE2b-256 9fa456f5942c3ce01fb66d5c3f70b5479f2b1d346c5d992c441c45890ed43a6a

See more details on using hashes here.

File details

Details for the file tc_prcmmt_hks-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tc_prcmmt_hks-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tc_prcmmt_hks-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbcd7d1c609ed49270b1a37f858218388dbe571e537556dcc23a33d73c0fc13e
MD5 0f62c0519a7dbab1e57826931bc68fc8
BLAKE2b-256 f86428c6d126c925e229c5a210e4396272b22111d24f0b9c8745128bd3385562

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page