Sync __version__ in __init__.py with version in pyproject.toml
Project description
sync-version
sync version in pyproject.toml (if pyproject.toml does not have version info, then version in package.json) with version in init.py
Install it
pip install sync-version
# or pip install git+https://github.com/ffreemt/sync-version
# poetry add git+https://github.com/ffreemt/sync-version
# git clone https://github.com/ffreemt/sync-version && cd sync-version
Use it
poetry version prerelease
sync-version # or python -m sync_version
poetry version patch
sync-version # or python -m sync_version
# dry-run
sync-version --dry-run
# debug and dry-run
sync-version --debug --dry-run
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
sync-version-0.1.5a0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for sync_version-0.1.5a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f107bf14fc055a3aba3f657468333635acca10988091c56411419af45f7e221 |
|
MD5 | a0fe28bd84b542a6c167047daf5cd504 |
|
BLAKE2b-256 | 0232e00c8baf845f88cb1b2a2ec742e8ae0ee76827827120c1d08af883c381ca |