mirror of
https://github.com/N4S4/synology-api.git
synced 2025-07-22 12:08:56 +00:00
feat: add pre-commit configuration for code quality checks
This commit is contained in:
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
ci:
|
||||
skip: [pytest]
|
||||
|
||||
default_language_version:
|
||||
python: python3.13
|
||||
|
||||
repos:
|
||||
# general checks (see here: https://pre-commit.com/hooks.html)
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: trailing-whitespace
|
Reference in New Issue
Block a user