Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:

jobs:
pre_commit:
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
python-version:
- "3.10"
- "3.12"
steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand Down
21 changes: 7 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default_install_hook_types:

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
rev: v4.0.0
hooks:
- id: conventional-pre-commit
stages:
Expand All @@ -19,7 +19,7 @@ repos:
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: v5.0.0
hooks:
- id: end-of-file-fixer
stages:
Expand Down Expand Up @@ -51,25 +51,18 @@ repos:
- "--unsafe"
- id: debug-statements
- repo: https://github.com/psf/black
rev: 25.9.0
rev: 25.1.0
hooks:
- id: black
stages:
- manual
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
rev: v1.35.1
hooks:
- id: yamllint
stages:
- manual
args:
- "-c"
- ".yamllint"
- repo: https://github.com/ansible-community/ansible-lint
rev: v25.9.2
hooks:
- id: ansible-lint
stages:
- manual
additional_dependencies:
- ansible
- >-
-d {extends: default, rules: {line-length: disable},
ignore: [submodules/]}
10 changes: 3 additions & 7 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
---
extends: default

rules:
indentation:
spaces: 2
line-length: disable
comments:
min-spaces-from-content: 1
comments-indentation: disable
braces:
max-spaces-inside: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
brackets:
forbid: non-empty
new-line-at-end-of-file: enable