41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Apply to all files without commiting:
|
|
# pre-commit run --all-files
|
|
# Update this file:
|
|
# pre-commit autoupdate
|
|
fail_fast: false
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-symlinks
|
|
- id: check-byte-order-marker
|
|
- id: check-case-conflict
|
|
- id: check-docstring-first
|
|
- id: check-executables-have-shebangs
|
|
- id: forbid-new-submodules
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: mixed-line-ending
|
|
- repo: https://github.com/detailyang/pre-commit-shell
|
|
rev: 1.0.5
|
|
hooks:
|
|
- id: shell-lint
|
|
args: ['-x']
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.1.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- repo: local
|
|
hooks:
|
|
- id: pylint
|
|
name: pylint
|
|
entry: poetry run pylint meissa/
|
|
language: system
|
|
always_run: true
|
|
pass_filenames: false
|