Thabiso-maker/dns-analyzer
GitHub: Thabiso-maker/dns-analyzer
Stars: 0 | Forks: 0
# Pre-commit configuration
# Run manually: pre-commit run --all-files
# Auto-installs: make install-dev (runs: pre-commit install)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-merge-conflict
- id: check-added-large-files
args: ["--maxkb=500"]
- id: detect-private-key
- id: no-commit-to-branch
args: [--branch, main]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.7
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies:
- pydantic
- pydantic-settings
- types-pyyaml
- types-redis
args: [--ignore-missing-imports]
pass_filenames: false
args: [src, cli]