mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
moving flake config to one file (#1546)
This commit is contained in:
parent
3545139dd7
commit
e54e9f2347
2 changed files with 2 additions and 4 deletions
|
@ -10,9 +10,6 @@ repos:
|
||||||
sha: 0b70e285e369bcb24b57b74929490ea7be9c4b19
|
sha: 0b70e285e369bcb24b57b74929490ea7be9c4b19
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: ^(setup.py|docs/source/conf.py)$
|
|
||||||
args:
|
|
||||||
- --ignore=W605,W503
|
|
||||||
- repo: git://github.com/pre-commit/mirrors-pylint
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
||||||
sha: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
|
sha: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -14,7 +14,8 @@ upload-dir = docs/build/html
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 99
|
max-line-length = 99
|
||||||
ignore = W503
|
ignore = W503, W605
|
||||||
|
exclude = setup.py, docs/source/conf.py
|
||||||
|
|
||||||
[yapf]
|
[yapf]
|
||||||
based_on_style = google
|
based_on_style = google
|
||||||
|
|
Loading…
Reference in a new issue