chore: add pre-commit and just

This commit is contained in:
Julian Stiller 2025-05-23 23:24:03 +02:00
parent 4f410e1e86
commit e0baf82356
4 changed files with 21 additions and 5 deletions

13
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: local
hooks:
- id: treefmt
name: treefmt
pass_filenames: false
entry: treefmt
language: system