Commit 93b1fa09 authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

nixos/test-driver: disable typecheck for dependencies where don't have typing

parent d7465572
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -22,6 +22,15 @@ line-length = 88
select = ["E", "F", "I", "U", "N"]
ignore = ["E501"]

# xxx: we can import https://pypi.org/project/types-colorama/ here
[[tool.mypy.overrides]]
module = "colorama.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ptpython.*"
ignore_missing_imports = true

[tool.black]
line-length = 88
target-version = ['py39']
+3 −0
Original line number Diff line number Diff line
# mypy: disable-error-code="no-untyped-call"
# drop the above line when mypy is upgraded to include
# https://github.com/python/typeshed/commit/49b717ca52bf0781a538b04c0d76a5513f7119b8
from colorama import Style, Fore
from contextlib import contextmanager
from typing import Any, Dict, Iterator