Commit 573cfc3
committed
Fix mypy typing errors
Errors:
src/textual_dev/previews/borders.py:65: error: Incompatible types in assignment (expression has type "tuple[str, str]", variable has type "Sequence[tuple[Literal['', 'ascii', 'none', 'hidden', 'blank', 'round', 'solid', 'thick', 'double', 'dashed', 'heavy', 'inner', 'outer', 'hkey', 'vkey', 'tall', 'panel', 'wide'], str | Color] | None] | tuple[Literal['', 'ascii', 'none', 'hidden', 'blank', 'round', 'solid', 'thick', 'double', 'dashed', 'heavy', 'inner', 'outer', 'hkey', 'vkey', 'tall', 'panel', 'wide'], str | Color] | None") [assignment]
tests/utilities/wait_for_predicate.py:29: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]1 parent 3d8db4f commit 573cfc3
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments