opencepk / find-and-replace

Python package and pre-commit-hook for finding and replacing string(s) in file(s)
GNU General Public License v3.0
0 stars 0 forks source link

feat/intial-v initial code #1

Closed hminaee-tc closed 2 months ago

hminaee-tc commented 2 months ago

Changes proposed in this PR:

  1. Initial code for pre-commit hooks

  2. git work flow to also publish it as a PYPI

  3. extra cautionary pre commit hook to check the published version and complain if already exists

    • fail on existing v
    • fail on not committed toml file if v has changed
  4. E2E

  5. OIDC

  6. unit test

  7. Extra features

    • verbose
    • log-level
    • h
    • usage
    • dry-run

Pre commit checking if python already published or not image

After bumping the version image

image

After bumping and committing image

E2E tests image

dry run with logging

image

image