mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
Fix Regex in Configuration of Black Formatter (#2159)
This commit is contained in:
parent
02cd7b642f
commit
83791d34e7
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@ line-length = 99
|
|||
target-version = ['py36']
|
||||
skip-string-normalization = true
|
||||
|
||||
# We need to force-exclude the negated include pattern so
|
||||
# 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$'
|
||||
force-exclude = '^(?!/(telegram|examples|tests)/).*\.py$'
|
||||
include = '(telegram|examples|tests)/.*\.py$'
|
||||
exclude = 'telegram/vendor'
|
Loading…
Reference in a new issue