Skip to content

Commit 8756ae5

Browse files
committed
update to v0.6.6, switch to install strategy
This chage switched install strategy from `additional_dependencies` in `.pre-commit-hooks.yaml` to `install_requires` in `setup.py`.
1 parent ddf69c3 commit 8756ae5

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.pre-commit-hooks.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
entry: cmake-format
55
args: [--in-place]
66
language: python
7-
additional_dependencies: [cmake-format==0.6.5]
87
types: [cmake]
98

109
- id: cmake-lint
1110
name: cmake-lint
1211
description: cmake-lint will check your listfiles for style violations, common mistakes, and anti-patterns.
1312
entry: cmake-lint
1413
language: python
15-
additional_dependencies: [cmake-format==0.6.5]
1614
types: [cmake]

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ add something like the following to your ``.pre-commit-config.yaml`` file:
1919
2020
repos:
2121
- repo: https://github.com/cheshirekow/cmake-format-precommit
22-
rev: v0.6.5
22+
rev: v0.6.6
2323
hooks:
2424
- id: cmake-format
2525
- id: cmake-lint

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
from setuptools import setup
2-
setup()
2+
setup(
3+
name="cmake-format-precommit-dummy",
4+
version="0.0.0",
5+
install_requires=["cmake-format==0.6.6"]
6+
)

0 commit comments

Comments
 (0)