项目文件夹

文件
T
Anish Athalye 91b5b40ff7 Move mypy configuration to config file (#545)
This patch moves the `--allow-redefinition` into the `.mypi.ini` file.
Centralizing our mypy config in a single file makes sense, and this way,
if people want to run mypy locally, they don't need to remember to
supply this command-line argument.
2022-11-26 08:07:38 -05:00

24 行
383 B
INI

[mypy]
allow_redefinition = True
[mypy-sklearn.*]
ignore_missing_imports = True
[mypy-scikeras.*]
ignore_missing_imports = True
[mypy-tensorflow.*]
ignore_missing_imports = True
[mypy-fasttext.*]
ignore_missing_imports = True
[mypy-IPython.display.*]
ignore_missing_imports = True
[mypy-torchvision.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True