File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/setup-python@v4
17
17
with :
18
18
python-version : ' 3.11'
19
- - name : install-dependencies
20
- run : pip install -r opencepk_lib_python_common/pypi_bumpversion_check_package/pypi_bumpversion_check/requirements.txt
19
+ # - name: install-dependencies
20
+ # run: pip install -r opencepk_lib_python_common/pypi_bumpversion_check_package/pypi_bumpversion_check/requirements.txt
21
21
- name : pre-commit-run
22
22
uses : pre-commit/action@v3.0.0
Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ repos:
61
61
# -----------------------------
62
62
# PYPI bumpversion check
63
63
# -----------------------------
64
- - repo : local
65
- hooks :
66
- - id : install-pypi_bumpversion_check-requirements
67
- name : Install PYPI bumpversion check requirements
68
- entry : sh -c 'pip3 install -r ./opencepk_lib_python_common/pypi_bumpversion_check_package/pypi_bumpversion_check/requirements.txt && exit 0'
69
- language : system
70
- always_run : true
64
+ # - repo: local
65
+ # hooks:
66
+ # - id: install-pypi_bumpversion_check-requirements
67
+ # name: Install PYPI bumpversion check requirements
68
+ # entry: sh -c 'pip3 install -r ./opencepk_lib_python_common/pypi_bumpversion_check_package/pypi_bumpversion_check/requirements.txt && exit 0'
69
+ # language: system
70
+ # always_run: true
71
71
72
72
# -----------------------------
73
73
# PYPI bumpversion check
@@ -78,8 +78,11 @@ repos:
78
78
name : Check version
79
79
args : ['./pyproject.toml']
80
80
entry : python3 -m opencepk_lib_python_common.pypi_bumpversion_check_package.pypi_bumpversion_check
81
- language : system
81
+ language : python
82
82
pass_filenames : false # Do not pass filenames to the hook (this is important to keep)
83
+ additional_dependencies :
84
+ - toml
85
+ - requests
83
86
84
87
85
88
- repo : local
@@ -90,3 +93,12 @@ repos:
90
93
language : system
91
94
pass_filenames : false
92
95
always_run : true
96
+
97
+ - repo : local
98
+ hooks :
99
+ - id : toml build
100
+ name : test the .toml package health
101
+ entry : pip3 install .
102
+ language : system
103
+ pass_filenames : false
104
+ always_run : true
You can’t perform that action at this time.
0 commit comments