Commit graph

24 commits

Author SHA1 Message Date
Tim Rid
a9f4b44801 fixed mypy errors 2025-01-12 15:39:57 +01:00
Tim Rid
04e1bc0c61 updated to construct==2.10.70 2025-01-12 15:35:54 +01:00
Tim Riddermann
ede1a72c70 added ignores, because 'Computed' is not subscriptable at runtime 2023-07-18 17:42:57 +02:00
Tim Riddermann
d9026772a0 fixed further mypy issues 2023-07-18 17:39:10 +02:00
Tim Riddermann
825783db57 fixed mypy issues 2023-07-18 17:37:29 +02:00
Tim Riddermann
7f08ab2f28 added intermediate variable, so that pyright v1.1.316 passes 2023-07-18 17:25:21 +02:00
Tim Riddermann
dd1691528f fixed pyright errors 2023-07-18 15:46:17 +02:00
Tim Riddermann
232fcbd725 inserted missing asserts 2023-01-06 12:00:56 +01:00
Tim Riddermann
b5add648ed fixed pyright 1.1.287 error 2023-01-06 10:45:55 +01:00
Tim Rid
b7e92c3c7d removed mypy error 'Unused "type: ignore" comment' 2022-12-23 20:48:05 +01:00
Tim Rid
94896208b9 fixed mypy error: error: Returning Any from function declared to return "int" 2022-10-23 22:24:08 +02:00
Tim Rid
834d244eda ignore mypy error "Call to untyped function "load" in typed context" 2022-02-13 01:14:01 +01:00
Tim Rid
2b5967e11d fixing pyright issues 2021-05-23 16:22:40 +02:00
Tim Rid
d092e48a68 fixed failing test case 2021-04-03 21:40:26 +02:00
Tim Rid
b336087493 renamed "TContainerBase" to "TContainerMixin" 2021-03-30 19:35:33 +02:00
Tim Rid
d0a31458a8 added covariant and contravariant from PR #1 2021-03-13 17:49:03 +01:00
Tim Rid
318c5b0a67 arrow is now also typed, so the type ignore is unnecessary 2021-03-13 12:51:09 +01:00
Tim Rid
8957eaeede updated stubs for construct==2.10.61 2021-02-20 23:52:06 +01:00
Tim Rid
6900b37acd fixed things that are complained by pyright 2021-01-10 13:31:56 +01:00
Tim Rid
4c4bf74fd3 fixed some python 3.7 and numpy issues 2021-01-03 12:32:41 +01:00
Tim Rid
3d74c99718 fixed type error 2021-01-03 11:54:11 +01:00
Tim Rid
f5a3565f3e added stubs for LazyStruct, LazyListContainer, LazyArray, LazyBound
fixed bug in test_typed.py
2021-01-02 23:35:45 +01:00
Tim Rid
0a51f86183 slightly modified test_core.py so that mypy doesn't generate errors. 2021-01-01 22:56:53 +01:00
Tim Rid
0f597f643f added original tests from https://raw.githubusercontent.com/construct/construct/2626b398a676191114f6ce5d8db903e9590700db/tests/test_core.py 2021-01-01 22:06:19 +01:00