Metadata-Version: 2.1
Name: vicommithooks
Version: 0.1
Summary: Useful VI assertions that can be used to prevent bad project commits
License: MIT
Author: strainmike
Requires-Python: >=3.7.0,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pylabview-helpers (>=0.1.2,<0.2.0)
Description-Content-Type: text/markdown

# vicommithooks
A set of common LabVIEW project requirements to prevent checking unshippable code into the repo.

# Usage

    pip install vicommithooks
    vicommithooks --help
    usage: vicommithooks [-h] [-r] [--source-only] [--min-version MIN_VERSION]
                         [--max-version MAX_VERSION] [--not-prerelease]
                         file
    
    positional arguments:
      file
    
    optional arguments:
      -h, --help            show this help message and exit
      -r, --recursive       Recursively searched the path for all VIs.
      --source-only         Asserts the VI(s) are set to source only
      --min-version MIN_VERSION
                            Asserts that the major version of LabVIEW the VI was
                            saved with is greater than or equal to this value
      --max-version MAX_VERSION
                            Asserts that the major version of LabVIEW the VI was
                            saved with is less than or equal to this value
      --not-prerelease      Asserts that the version of LabVIEW the VI was saved
                            with is not a prerelease version
    
# Contributing

Feel free to post PRs to improve this.

