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