Add pre-commit framework

- Install pre-commit
- Configure .pre-commit-config.yaml with:
  - ruff (lint + format) for Python
  - bandit for Python security
  - eslint for TypeScript
  - prettier for TypeScript
  - shared constants validation
- Add Makefile targets: pre-commit, lint
This commit is contained in:
counterweight 2025-12-21 22:01:38 +01:00
parent 521848217d
commit d55382d16f
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 49 additions and 1 deletions

View file

@ -23,6 +23,7 @@ dev = [
"ruff>=0.14.10",
"pytest-cov>=7.0.0",
"bandit>=1.9.2",
"pre-commit>=4.5.1",
]
[tool.mypy]