You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
747 B
30 lines
747 B
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/pycqa/pylint
|
|
rev: pylint-2.6.0
|
|
hooks:
|
|
- id: pylint
|
|
args:
|
|
- --max-line-length=80
|
|
- --ignore-imports=yes
|
|
- -d duplicate-code
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.812
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [pydantic] # add if use pydantic
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.7.0
|
|
hooks:
|
|
- id: isort
|