python-telegram-bot/pyproject.toml

11 lines
383 B
TOML
Raw Normal View History

[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'