lol

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

+12
+9
nixos/lib/test-driver/pyproject.toml
··· 22 22 select = ["E", "F", "I", "U", "N"] 23 23 ignore = ["E501"] 24 24 25 + # xxx: we can import https://pypi.org/project/types-colorama/ here 26 + [[tool.mypy.overrides]] 27 + module = "colorama.*" 28 + ignore_missing_imports = true 29 + 30 + [[tool.mypy.overrides]] 31 + module = "ptpython.*" 32 + ignore_missing_imports = true 33 + 25 34 [tool.black] 26 35 line-length = 88 27 36 target-version = ['py39']
+3
nixos/lib/test-driver/test_driver/logger.py
··· 1 + # mypy: disable-error-code="no-untyped-call" 2 + # drop the above line when mypy is upgraded to include 3 + # https://github.com/python/typeshed/commit/49b717ca52bf0781a538b04c0d76a5513f7119b8 1 4 from colorama import Style, Fore 2 5 from contextlib import contextmanager 3 6 from typing import Any, Dict, Iterator