32 lines
880 B
YAML
32 lines
880 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 21.9b0
|
|
hooks:
|
|
- id: black
|
|
exclude: docs_src
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
exclude: docs_src
|
|
args: [ '--max-line-length=88' ]
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.910
|
|
hooks:
|
|
- id: mypy
|
|
exclude: docs_src
|
|
args: [--no-strict-optional, --ignore-missing-imports]
|
|
additional_dependencies: [
|
|
types-ujson>=0.1.1,
|
|
types-PyMySQL>=1.0.2,
|
|
types-ipaddress>=1.0.0,
|
|
types-enum34>=1.1.0,
|
|
types-cryptography>=3.3.5,
|
|
types-orjson>=3.6.0,
|
|
types-aiofiles>=0.1.9,
|
|
types-pkg-resources>=0.1.3,
|
|
types-requests>=2.25.9,
|
|
types-toml>=0.10.0,
|
|
pydantic>=1.8.2
|
|
]
|