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
Release history Release notifications | RSS feed
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
File details
Details for the file check_iso8601_version_string-2023.12.20.tar.gz
.
File metadata
- Download URL: check_iso8601_version_string-2023.12.20.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c2b22bab60c01a30cfaaf43a04454045b95f3d668afe04e7a1de6600fb161b |
|
MD5 | 05b4e8d88e48fdd5fdedaff9d81d8c70 |
|
BLAKE2b-256 | a04057440d8620528b5b4582dbed2de259f11f1fb3480c054cb5c5babeaa72d7 |
File details
Details for the file check_iso8601_version_string-2023.12.20-py2.py3-none-any.whl
.
File metadata
- Download URL: check_iso8601_version_string-2023.12.20-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fcdc09fcb8d81a1d30ba1c3ce3b75dced472dd17c207df3586fb2114bb1ee33 |
|
MD5 | 0b3f1396f54f85c3c98b945de8cbe525 |
|
BLAKE2b-256 | 9589c20fb95c94523c6d1d1ebd6812df168c2d90d980d7bed13d2763884c3b33 |