taiyo-demo / .pre-commit-config.yaml
yuki.tsutsumi
precommitのmypyの引数にstrictを追加。
8151901
raw
history blame
661 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace # 末尾の空白を削除
- id: end-of-file-fixer # ファイルが改行で終わり、改行のみであることを確認
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 7.1.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
args: [--strict, --ignore-missing-imports]