Enable implicit_optional for telegram

This commit is contained in:
Matthias 2023-01-21 20:00:45 +01:00
parent 795934116d
commit 741d2db334
1 changed files with 5 additions and 0 deletions

View File

@ -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"