- Extract ADR documents for architectural decisions (SQLite, FastAPI, React, APScheduler, Scheduler) - Refactor setup.py: improve code structure and readability - Add IP validation utilities with test coverage - Update frontend components (BanTable, HistoryPage) - Add pre-commit hooks and CONTRIBUTING.md - Add .editorconfig for consistent coding standards
23 lines
589 B
YAML
23 lines
589 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: check-merge-conflict
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
hooks:
|
|
- id: prettier
|
|
args: [--check]
|
|
name: prettier (frontend)
|
|
files: ^frontend/
|
|
entry: prettier --check
|
|
language: system |