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

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

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

Uploaded Python 3

File details

Details for the file vicommithooks-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: vicommithooks-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.9

File hashes

Hashes for vicommithooks-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a09c526f4aa29d8d14d32ddc3d862b8984a09b29337b5416a361dab3d680391e
MD5 7497d8684e0cc0834f36c6e99e54e2a9
BLAKE2b-256 95fcda8cd79f2e07ad259fc4f6cce3c7241dadaaebf3974706f3a698f1a5196a

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