hikari_uploader/.pre-commit-config.yaml
2022-02-27 06:02:51 +01:00

34 lines
929 B
YAML

repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-ast
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- id: check-shebang-scripts-are-executable
- id: check-executables-have-shebangs
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: '886e1c39f0dcddeee1cd260418372cf5f3932391'
hooks:
- id: mypy
args: []
additional_dependencies: [types-orjson, types-requests, typer]
- repo: https://github.com/PyCQA/bandit
rev: '1.7.0'
hooks:
- id: bandit