This commit is contained in:
26
backend/.pre-commit-config.yaml
Normal file
26
backend/.pre-commit-config.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
default_language_version:
|
||||
python: python3.13
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: trailing-whitespace
|
||||
- id: check-ast
|
||||
- id: check-builtin-literals
|
||||
- id: check-docstring-first
|
||||
- id: check-yaml
|
||||
- id: check-toml
|
||||
- id: mixed-line-ending
|
||||
- id: end-of-file-fixer
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: check-pylint
|
||||
name: check-pylint
|
||||
entry: pylint -d R0801,R0903,W0511,W0603,C0103,R0902
|
||||
language: system
|
||||
types: [python]
|
||||
pass_filenames: false
|
||||
args:
|
||||
- backend
|
||||
Reference in New Issue
Block a user