Add pre-commit framework and hooks config

This commit is contained in:
mdaleo404 committed 2025-11-15 07:53:04 +00:00
1 parent be9867a007
commit 5f8d6c03d8
7 files changed
+397 -20

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
repos:
- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
hooks:
- id: bandit
files: ^src/resrm/
args: ["-s", "B110,B112"]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
hooks:
- id: black
language_version: python3.13
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer