eshwen / pyproject-version-sync Goto Github PK
View Code? Open in Web Editor NEWPre-commit hook to align the pyproject.toml version with the latest tag in the repo
Pre-commit hook to align the pyproject.toml version with the latest tag in the repo
For discoverability
In theory, this package should be compatible with Python <=3.9, and >=3.11. But I should test, just in case
Then I can run any CI pipelines with these additional Python versions, extend the Python version range in pyproject.toml
, as well as the Python badge in the README to showcase compatibility
With Python >= 3.11, tomli
is included in the standard library. So maybe I can put constraints on the dependency to only install for <= 3.10
This project is pretty simple. But nonetheless, unit tests should be written to validate the functionality
The hook is currently hardcoded to only run over the pyproject.toml
file in the root of the repo
Add functionality to allow the user to pass a path to pyproject.toml file elsewhere in the repo, e.g., if it's nested in subdirectory instead of at the root
Get it to handle more complex tag naming conventions, e.g., v1.0.0-a
. Perhaps also add argument to allow the user to keep the v
prefix if their tag starts with a v
Rename pyproject-version-check
to pyproject-version-sync
. Sounds better, I think. Update IDs, names, executables, etc., and also usages in repos
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.