mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff-format
|
|
name: ruff-format
|
|
entry: uv run ruff format
|
|
require_serial: true
|
|
language: system
|
|
types: [ python ]
|
|
- id: ruff
|
|
name: ruff
|
|
entry: uv run ruff check --force-exclude
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
- id: mypy
|
|
name: mypy
|
|
entry: uv run mypy roboco
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: vulture
|
|
name: vulture
|
|
entry: uv run vulture vulture_whitelist.py
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: bandit
|
|
name: bandit
|
|
entry: uv run bandit -r roboco -ll
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: radon-cc
|
|
name: radon-cyclomatic-complexity
|
|
entry: uv run radon cc roboco -nc
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: xenon
|
|
name: xenon
|
|
entry: uv run xenon roboco --max-absolute B --max-modules A --max-average A
|
|
require_serial: true
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: deptry
|
|
name: deptry
|
|
entry: uv run deptry .
|
|
require_serial: true
|
|
language: system
|
|
pass_filenames: false |