mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 00:27:46 +01:00
42eaa67fd5
Co-authored-by: tsnoam <tsnoam@gmail.com> Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com> Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
10 lines
356 B
TOML
10 lines
356 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$'
|