Newer
Older
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-toml
- id: check-docstring-first
- id: detect-private-key
- id: trailing-whitespace
- id: check-yaml
- id: debug-statements
- id: check-merge-conflict
- id: check-ast
- repo: https://github.com/charliermarsh/ruff-pre-commit
hooks:
- id: ruff
args: [ "--fix" ]
- id: ruff-format
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
files: clowm
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
files: clowm
args: [ --config=pyproject.toml ]
additional_dependencies:
- types-aiobotocore-lite[s3]>=2.12.0,<2.13.0
- sqlalchemy>=2.0.0,<2.1.0
- pydantic>=2.6.0,<2.8.0
- types-requests
- types-PyMySQL