mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-06-29 06:21:42 +02:00
e25ff22127
Configure Ruff as the code formatter and linter with pre-commit hooks. Applied automatic formatting fixes across the entire codebase including: - Import sorting and organization - Code style consistency (spacing, line breaks, indentation) - String quote normalization - Removal of trailing whitespace and unnecessary blank lines
8 lines
260 B
YAML
8 lines
260 B
YAML
repos:
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
rev: v0.6.9 # pin the latest you’re comfortable with
|
||
hooks:
|
||
- id: ruff
|
||
args: [--fix, --exit-non-zero-on-fix] # fail if it had to change files
|
||
- id: ruff-format
|
||
|