mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 08:37:07 +01:00
264b2c9c72
* Swtich code formatting to Black * Update docs * Fix tests * TRy fixing pre-commit
24 lines
544 B
YAML
24 lines
544 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1
|
|
hooks:
|
|
- id: black
|
|
args:
|
|
- --diff
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.1
|
|
hooks:
|
|
- id: flake8
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
|
rev: v2.5.3
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=import-error
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: 'v0.770'
|
|
hooks:
|
|
- id: mypy
|
|
files: ^telegram/.*\.py$
|