mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 00:27:46 +01:00
11 lines
No EOL
383 B
TOML
11 lines
No EOL
383 B
TOML
[tool.black]
|
|
line-length = 99
|
|
target-version = ['py37']
|
|
skip-string-normalization = true
|
|
|
|
# We need to force-exclude the negated include pattern
|
|
# so that pre-commit run --all-files does the correct thing
|
|
# see https://github.com/psf/black/issues/1778
|
|
force-exclude = '^(?!/(telegram|examples|tests)/).*\.py$'
|
|
include = '(telegram|examples|tests)/.*\.py$'
|
|
exclude = 'telegram/vendor' |