Skip to content

Commit 3bba1ba

Browse files
author
Alan Christie
committed
style: Some fixes
1 parent 08605b5 commit 3bba1ba

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.pre-commit-config.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
minimum_pre_commit_version: 3.5.0
3+
4+
repos:
5+
6+
# commit-msg hooks
7+
# ----------
8+
9+
# Conventional Commit message checker (commitizen)
10+
- repo: https://github.com/commitizen-tools/commitizen
11+
rev: v4.9.1
12+
hooks:
13+
- id: commitizen
14+
stages:
15+
- commit-msg
16+
17+
# pre-commit hooks
18+
# ----------
19+
20+
# Hooks that actively "change" files (formatters etc.)
21+
# ----------------------------------
22+
23+
# Standard pre-commit rules
24+
- repo: https://github.com/pre-commit/pre-commit-hooks
25+
rev: v6.0.0
26+
hooks:
27+
- id: check-case-conflict
28+
- id: check-docstring-first
29+
- id: check-executables-have-shebangs
30+
- id: check-shebang-scripts-are-executable
31+
- id: detect-private-key
32+
- id: end-of-file-fixer
33+
- id: trailing-whitespace
34+
args:
35+
- --markdown-linebreak-ext=md
36+
37+
# YAML Lint
38+
- repo: https://github.com/adrienverge/yamllint
39+
rev: v1.37.1
40+
hooks:
41+
- id: yamllint
42+
types:
43+
- file
44+
files: (\.yaml|\.yaml.j2)$

inventory.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
all:
33
vars:
44
ansible_connection: local
5+
ansible_python_interpreter: python
56
children:
67
server:
78
hosts:

0 commit comments

Comments
 (0)