mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 20:22:58 +03:00
34 lines
1006 B
YAML
34 lines
1006 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
ci:
|
|
autofix_commit_msg: 'chore: [pre-commit.ci] auto fixes from pre-commit.com hooks'
|
|
autoupdate_commit_msg: 'chore: [pre-commit.ci] pre-commit autoupdate'
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/johann-petrak/licenseheaders.git
|
|
rev: v0.8.8
|
|
hooks:
|
|
- id: licenseheaders
|
|
args: ["-t", ".copyright.tmpl", "-cy", "-f", "-d", "statapp"]
|
|
pass_filenames: false
|
|
- repo: local
|
|
hooks:
|
|
- id: pylint
|
|
name: pylint
|
|
entry: pylint
|
|
language: system
|
|
types: [python]
|
|
args:
|
|
[
|
|
"-rn", # Only display messages
|
|
"-sn", # Don't display the score
|
|
"--rcfile=.pylintrc",
|
|
]
|