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 details)

Uploaded Python 2 Python 3

File details

Details for the file check_iso8601_version_string-2023.12.20.tar.gz.

File metadata

File hashes

Hashes for check_iso8601_version_string-2023.12.20.tar.gz
Algorithm Hash digest
SHA256 51c2b22bab60c01a30cfaaf43a04454045b95f3d668afe04e7a1de6600fb161b
MD5 05b4e8d88e48fdd5fdedaff9d81d8c70
BLAKE2b-256 a04057440d8620528b5b4582dbed2de259f11f1fb3480c054cb5c5babeaa72d7

See more details on using hashes here.

File details

Details for the file check_iso8601_version_string-2023.12.20-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for check_iso8601_version_string-2023.12.20-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1fcdc09fcb8d81a1d30ba1c3ce3b75dced472dd17c207df3586fb2114bb1ee33
MD5 0b3f1396f54f85c3c98b945de8cbe525
BLAKE2b-256 9589c20fb95c94523c6d1d1ebd6812df168c2d90d980d7bed13d2763884c3b33

See more details on using hashes here.

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