From b99db7099d8f153252449d4c4024b8a9d3d798ba Mon Sep 17 00:00:00 2001 From: hminaee-tc Date: Tue, 2 Jul 2024 16:40:28 -0300 Subject: [PATCH] feat/check-v2 clean up --- .pre-commit-config.yaml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb54385..66a321b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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