Skip to content

Commit ec96b14

Browse files
authored
chore(dep): add cfn-lint as a dev dependency; pre-commit (#1612)
1 parent 648501b commit ec96b14

File tree

3 files changed

+288
-52
lines changed

3 files changed

+288
-52
lines changed

.pre-commit-config.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ repos:
3434
hooks:
3535
- id: markdownlint
3636
args: ["--fix"]
37-
- repo: https://github.com/aws-cloudformation/cfn-python-lint
38-
rev: v0.61.1
37+
- repo: local
3938
hooks:
40-
- id: cfn-python-lint
41-
files: examples/.*\.(yaml|yml)$
39+
- id: cloudformation
40+
name: linting::cloudformation
41+
entry: poetry run cfn-lint
42+
language: system
43+
types: [yaml]
44+
files: examples/.*
4245
- repo: https://github.com/rhysd/actionlint
4346
rev: v1.6.21
4447
hooks:

0 commit comments

Comments
 (0)