From 2235ec6571601e12be7eb3c74907668fb68bebd4 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 11 Jul 2025 22:14:52 +0200 Subject: Fix issue with bad color names (#3816) * fix issue with bad color names and define element colors at one place and reuse * fix bad tartan color * verify color in gradient block * add thread color tests * use default color behavior for elements linked to non-existing definitions (gradients) * Added mypy change for tests (authored by: CapellanCitizen) --- mypy.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mypy.ini') diff --git a/mypy.ini b/mypy.ini index 709e554e..4a06d5e3 100644 --- a/mypy.ini +++ b/mypy.ini @@ -25,6 +25,10 @@ disallow_untyped_defs = True [mypy-lib.tartan.*] ignore_errors = True +[mypy-tests.*] +# The tests should be typechecked because they're all new code, and because they're tests we don't really care if they have perfect annotations. +check_untyped_defs = True + # These libraries are missing type information [mypy-colormath2.*] ignore_missing_imports = True -- cgit v1.2.3