File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33from __future__ import annotations
44
55import sys
6+ import typing as t
67
78import pytest
89
@@ -125,7 +126,7 @@ def test_all_semantic_methods_respect_enabled_state(
125126 self , colors_enabled : Colors
126127 ) -> None :
127128 """Verify all semantic color methods include ANSI codes when enabled."""
128- methods = [
129+ methods : list [ t . Callable [..., str ]] = [
129130 colors_enabled .success ,
130131 colors_enabled .error ,
131132 colors_enabled .warning ,
@@ -141,7 +142,7 @@ def test_all_semantic_methods_respect_disabled_state(
141142 self , colors_disabled : Colors
142143 ) -> None :
143144 """Verify all semantic color methods return plain text when disabled."""
144- methods = [
145+ methods : list [ t . Callable [..., str ]] = [
145146 colors_disabled .success ,
146147 colors_disabled .error ,
147148 colors_disabled .warning ,
You can’t perform that action at this time.
0 commit comments