Skip to content

Commit

Permalink
feat/check-v2 clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Jul 2, 2024
1 parent bb667d7 commit b99db70
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,30 @@ repos:
language: system
always_run: true

# -----------------------------
# PYPI bumpversion check
# -----------------------------
- repo: local
# # -----------------------------
# # PYPI bumpversion check
# # -----------------------------
# - repo: local
# hooks:
# - id: pypi_bumpversion_check
# name: Check version
# args: ['./pyproject.toml']
# entry: python3 -m hooks.pypi_bumpversion_check_package.pypi_bumpversion_check
# language: system
# pass_filenames: false # Do not pass filenames to the hook (this is important to keep)

- repo: https://github.com/opencepk/opencepk-lib-python-common
rev: v0.0.5
hooks:
- id: pypi_bumpversion_check
- id: python-pypi-version-check # this is the id we refer to in precommit.hook
name: Check version
description: xxxxxxx
args: ['./pyproject.toml']
entry: python3 -m hooks.pypi_bumpversion_check_package.pypi_bumpversion_check
entry: python-pypi-version-check
language: system
pass_filenames: false # Do not pass filenames to the hook (this is important to keep)


- repo: local
hooks:
- id: unittest
Expand Down

0 comments on commit b99db70

Please sign in to comment.