瀏覽代碼

mypy: ignore imports of python-telegram-bot

```
location_guessing_game_telegram_bot/__init__.py:27: error: Skipping analyzing 'telegram.ext': found module but no type hints or library stubs
location_guessing_game_telegram_bot/__init__.py:27: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
location_guessing_game_telegram_bot/__init__.py:27: error: Skipping analyzing 'telegram': found module but no type hints or library stubs
location_guessing_game_telegram_bot/__init__.py:28: error: Skipping analyzing 'telegram.update': found module but no type hints or library stubs
```
Fabian Peter Hammerle 4 年之前
父節點
當前提交
d488c3918b
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      mypy.ini

+ 4 - 0
mypy.ini

@@ -0,0 +1,4 @@
+[mypy]
+[mypy-telegram.*]
+# no longer required in python-telegram-bot>=13 ?
+ignore_missing_imports = True