Join us today!

pre-commit check fo...
 
Notifications
Clear all

pre-commit check for library versions

1 Posts
1 Users
2 Reactions
470 Views
rruiter
Posts: 63
Topic starter
(@rruiter)
Estimable Member
Joined: 2 years ago

Jakob Sagatowski wrote about the importance of fixing your library versions. If you want to do it automatically, I made a pre-commit for it. To use it add the following to your .pre-commit-config.yaml:

repos:
  - repo:  https://github.com/rruiter87/pre-commit-hooks/ 
    rev: eed2a917b83b75e46210d49a66f988dc7e720d68
    hooks:
      # check if all your plc library versions are fixed
      - id: check-fixed-library-versions

I also opened a pull request to add it to the existing TwinCAT pre-commits.

Reply
Share: