41 lines
910 B
YAML
41 lines
910 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 25.12.0
|
|
hooks:
|
|
- id: black
|
|
args: ['--line-length', '100']
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: isort
|
|
args: ['--profile', 'black']
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 7.3.0
|
|
hooks:
|
|
- id: flake8
|
|
args: ['--extend-ignore','E203,E501,W503']
|
|
- repo: https://github.com/pylint-dev/pylint
|
|
rev: v4.0.4
|
|
hooks:
|
|
- id: pylint
|
|
args: ['--disable', 'W0511,W0718,R0801,R0903,R0914']
|
|
language: system
|
|
- repo: local
|
|
hooks:
|
|
- id: mypy
|
|
name: mypy
|
|
entry: mypy
|
|
types: [python]
|
|
language: system
|
|
pass_filenames: true
|
|
args:
|
|
[
|
|
"--disallow-any-generics",
|
|
"--disallow-untyped-def",
|
|
"--follow-imports",
|
|
"skip",
|
|
"--ignore-missing-imports",
|
|
"--disable-error-code",
|
|
"unused-awaitable",
|
|
]
|