mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-02 04:56:46 +01:00
baec1bb554
- Use pre-commit v1.2.0 flake8 - Make sure we're running flake8 on examples and tests - Fix what had to be fixed
20 lines
530 B
YAML
20 lines
530 B
YAML
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
sha: master
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
args:
|
|
- --diff
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
sha: v1.2.0
|
|
hooks:
|
|
- id: flake8
|
|
exclude: ^(setup.py|docs/source/conf.py)$
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
|
sha: v1.7.1
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=import-error
|