Skip to main content

Tool for checking that an ISO 8601 version string (in `__version__`) is valid and set to today's date

Project description

check-iso8601-version-string

A tool (and pre-commit hook) to check that ISO 8601 version strings are valid, and set to today's date.

Installation

python -m pip install check-iso8601-version-string

As a pre-commit hook

See pre-commit for instructions.

Sample .pre-commit-config.yaml:

repos:
-   repo: https://github.com/simonrob/check-iso8601-version-string
    rev: v2023-12-20
    hooks:
    -   id: check-iso8601-version-string

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

Built Distribution

check_iso8601_version_string-2023.12.20-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 2 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