add pre-commit

This commit is contained in:
barry 2025-01-10 15:46:06 +01:00
parent 26442d418f
commit f32f606e56

View File

@ -3,5 +3,7 @@ repos:
rev: v0.9.0 # Use the desired version of ruff rev: v0.9.0 # Use the desired version of ruff
hooks: hooks:
- id: ruff - id: ruff
files: spotiplayer_pi/
# args: ["--fix"] # Automatically apply fixes where possible # args: ["--fix"] # Automatically apply fixes where possible
- id: ruff-format - id: ruff-format
files: spotiplayer_pi/