Enable implicit_optional for telegram
This commit is contained in:
parent
795934116d
commit
741d2db334
@ -40,6 +40,11 @@ exclude = [
|
||||
module = "tests.*"
|
||||
ignore_errors = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
# Telegram does not use implicit_optional = false in the current version.
|
||||
module = "telegram.*"
|
||||
implicit_optional = true
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools >= 46.4.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
Loading…
Reference in New Issue
Block a user