mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
typing tweaks
This commit is contained in:
parent
5fbe9ff048
commit
66406110f5
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ from anki.utils import isWin, isMac
|
||||||
|
|
||||||
from PyQt5.QtCore import *
|
from PyQt5.QtCore import *
|
||||||
from PyQt5.QtWidgets import *
|
from PyQt5.QtWidgets import *
|
||||||
|
from PyQt5.QtGui import * # type: ignore
|
||||||
from PyQt5.Qt import * # type: ignore
|
from PyQt5.Qt import * # type: ignore
|
||||||
# trigger explicit message in case of missing libraries
|
# trigger explicit message in case of missing libraries
|
||||||
# instead of silently failing to import
|
# instead of silently failing to import
|
||||||
|
|
1
mypy.ini
1
mypy.ini
|
@ -1,5 +1,6 @@
|
||||||
[mypy]
|
[mypy]
|
||||||
python_version = 3.6
|
python_version = 3.6
|
||||||
|
pretty = true
|
||||||
|
|
||||||
[mypy-win32file]
|
[mypy-win32file]
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
Loading…
Reference in a new issue