Skip to main content

Useful VI assertions that can be used to prevent bad project commits

Project description

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vicommithooks-0.1.3-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

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