Skip to content
Open
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
61 changes: 61 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Skip when needed:
#
# SKIP=conventional-pre-commit,isort,black,pylint,shellcheck,typos,pymarkdown git commit ...
#
# After changing this file: pre-commit install --install-hooks (installs
# pre-commit + commit-msg hooks).
default_install_hook_types:
- pre-commit
- commit-msg

repos:
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
hooks:
- id: isort
name: isort (black profile)
args: [--settings-path=pyproject.toml]
files: ^src/

- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
name: black
entry: black ./src

- repo: https://github.com/pylint-dev/pylint
rev: v3.3.8
hooks:
- id: pylint
name: pylint (errors-only)
args: [--errors-only]
files: ^src/

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck
name: shellcheck
files: ^scripts/.*\.sh$

- repo: https://github.com/crate-ci/typos
rev: v1.45.0
hooks:
- id: typos
name: typos (spell check)
args: [--force-exclude]

- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.28
hooks:
- id: pymarkdown
name: pymarkdown (markdown lint)

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit
name: conventional-commit-1.0
stages: [commit-msg]
args: []
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# kapps

Signed Apps for Krux