2023-11-29 12:26:56 +03:00
|
|
|
repos:
|
|
|
|
# Flutter
|
|
|
|
- repo: https://github.com/dluksza/flutter-analyze-pre-commit
|
|
|
|
rev: "4afcaa82fc368d40d486256bf4edba329bf667bb"
|
|
|
|
hooks:
|
|
|
|
- id: dart-format
|
2023-11-30 13:25:20 +03:00
|
|
|
files: \.dart$
|
|
|
|
require_serial: true
|
|
|
|
- id: flutter-analyze
|
|
|
|
require_serial: true
|
2023-11-30 17:15:59 +03:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: arb-reformatter
|
|
|
|
name: reformat-strings
|
|
|
|
files: \.arb$
|
|
|
|
language: script
|
|
|
|
entry: arb_reformatter.py
|
|
|
|
require_serial: true
|
2023-11-29 12:26:56 +03:00
|
|
|
|
|
|
|
# Python
|
2023-11-30 16:20:23 +03:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
name: mypy
|
|
|
|
files: helper/
|
|
|
|
language: script
|
|
|
|
entry: run-mypy.sh
|
|
|
|
require_serial: true
|
2023-11-29 12:26:56 +03:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 6.1.0
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 23.11.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
|
|
rev: 1.7.5
|
|
|
|
hooks:
|
|
|
|
- id: bandit
|
|
|
|
files: helper/ # keep in sync with .bandit file
|