Tim Riddermann
|
bb3935e7eb
|
fixes #19
|
2023-05-09 12:27:46 +02:00 |
|
timrid
|
4d07ed4cc6
|
Merge pull request #22 from timrid/bugfix/pickel-enum-by-value
Pickle enums by value instead of name (restores pre-3.11 behavior) to support `dataclasses.asdict`
|
2023-05-09 12:13:30 +02:00 |
|
Tim Riddermann
|
a44ea84299
|
fixed mypy error
|
2023-05-09 11:47:10 +02:00 |
|
Tim Riddermann
|
6185a95e74
|
ignored typing error
|
2023-05-09 11:44:09 +02:00 |
|
Tim Riddermann
|
d969fab1d3
|
fixed python 3.7 "TypeError: 'type' object is not subscriptable"
|
2023-05-09 11:31:18 +02:00 |
|
Tim Riddermann
|
3a676478ee
|
fixed mypy issues
|
2023-05-09 11:27:19 +02:00 |
|
Tim Riddermann
|
50a2f34fc6
|
fixed mypy issue
|
2023-05-09 11:12:42 +02:00 |
|
Tim Riddermann
|
ab33490dec
|
Pickle enums by value instead of name (restores pre-3.11 behavior) to support dataclasses.asdict
|
2023-05-09 10:52:18 +02:00 |
|
Tim Riddermann
|
acc3fa3443
|
incremented version to 0.5.5
|
2023-01-09 13:23:37 +01:00 |
|
Tim Riddermann
|
bea99456d7
|
using __new__ instead of __init__ for EnumBase to create enum member objects (fixes #18)
|
2023-01-09 09:02:33 +01:00 |
|
Tim Riddermann
|
80b11b2ef9
|
added missing parts for cst.Array
|
2023-01-09 08:18:16 +01:00 |
|
Tim Riddermann
|
238ca5d2df
|
removed not working __init__
|
2023-01-06 12:05:14 +01:00 |
|
Tim Riddermann
|
232fcbd725
|
inserted missing asserts
|
2023-01-06 12:00:56 +01:00 |
|
Tim Riddermann
|
7f6577af47
|
added __init__ methods for all that currently only defined an __new__ method
|
2023-01-06 12:00:42 +01:00 |
|
Tim Riddermann
|
b5add648ed
|
fixed pyright 1.1.287 error
|
2023-01-06 10:45:55 +01:00 |
|
Tim Riddermann
|
f98532a382
|
fixed _subconsindexes
|
2023-01-06 10:35:07 +01:00 |
|
Tim Riddermann
|
747bfaebd1
|
added generic wrapper for cs.Array
|
2023-01-06 10:32:44 +01:00 |
|
Tim Riddermann
|
31a10dcc88
|
added type hints for Struct._subcons, Sequence._subcons, FocusedSeq._subcons, Union._subcons, LazyStruct._subcons, LazyStruct._subconsindexes
|
2023-01-06 10:32:19 +01:00 |
|
Tim Rid
|
ed5d0fe826
|
incremented version to 0.5.4
|
2022-12-24 12:20:03 +01:00 |
|
Tim Rid
|
916349f876
|
enhanced EnumBase and FlagsEnumBase to support induvidual documentation for each enum value via EnumValue
|
2022-12-24 12:04:45 +01:00 |
|
Tim Rid
|
b7e92c3c7d
|
removed mypy error 'Unused "type: ignore" comment'
|
2022-12-23 20:48:05 +01:00 |
|
Tim Rid
|
349c8e5dd2
|
Updated IfThenElse so that it represents the real implementation
|
2022-12-23 20:37:05 +01:00 |
|
Tim Rid
|
ceb4b67ff8
|
incremented version to 0.5.3
|
2022-10-31 10:06:15 +01:00 |
|
Tim Rid
|
f3051a1116
|
upgrade requirement to construct==2.10.68
|
2022-10-31 09:54:50 +01:00 |
|
Tim Rid
|
25883cb7c8
|
Updated settings.json
|
2022-10-31 09:54:15 +01:00 |
|
Tim Rid
|
ce871936d9
|
Added Python 3.10 and 3.11 to the Test-Matrix and removed github warning "Node.js 12 actions are deprecated."
|
2022-10-25 20:49:07 +02:00 |
|
Tim Rid
|
92b3555c50
|
removed _create_pseudo_member completely and integrated it into _missing_
|
2022-10-25 19:26:37 +02:00 |
|
Tim Rid
|
e10938f308
|
Added type hint to self type, for mypy support.
|
2022-10-24 00:07:57 +02:00 |
|
Tim Rid
|
2b780ae7b9
|
changed Adapter __new__ to __init__ to fix #13. But this change on Adapter also reqires to change other Adapter subclasses.
|
2022-10-23 23:49:58 +02:00 |
|
Tim Rid
|
aeff7c6b7c
|
remove github actions deprecation warnings.
|
2022-10-23 23:03:40 +02:00 |
|
Tim Rid
|
a03190d816
|
fixed some pyright/pylance issues
|
2022-10-23 22:48:42 +02: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
|
18597a05db
|
changed requirements to use the latest numpy, because numpy 1.23.* is not supporting Python 3.7.
|
2022-10-23 22:19:07 +02:00 |
|
Tim Rid
|
19fd0bf7f3
|
Fixed Error in Python 3.11: "_sunder_ names, such as '_create_pseudo_member_', are reserved for future Enum use"
|
2022-10-23 22:12:55 +02:00 |
|
Tim Rid
|
47fd2838f7
|
changed requirements for Python 3.11
|
2022-10-23 22:12:49 +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
|
5533a7923e
|
fixed "potential security vulnerabilities" from github
|
2022-02-13 01:10:20 +01:00 |
|
Tim Rid
|
29d2608c37
|
fixed BuildTypes of cs.Const
|
2022-02-13 01:06:45 +01:00 |
|
timrid
|
e91bd27589
|
use settings from mypy.ini and also test the construct_typed folder
|
2022-01-09 12:51:34 +01:00 |
|
timrid
|
ba31334a33
|
Merge pull request #8 from Parnassius/pathlike
Use `os.PathLike` for file names
|
2022-01-09 12:48:27 +01:00 |
|
Tim Rid
|
375bab3faa
|
Merge branch 'bugfix/mypy-unused-ignores' into main
|
2022-01-09 12:39:36 +01:00 |
|
Tim Rid
|
930fd9928c
|
added mypy.ini: no error on unused ignores. mypy and pyright are slightly different, so pyright needs some ignores that mypy does not nee.
|
2022-01-09 12:30:57 +01:00 |
|
Parnassius
|
0979257dd7
|
Use os.PathLike for file names
|
2022-01-07 12:27:46 +01:00 |
|
Tim Rid
|
4c23eaa1b3
|
Revert "incremented version to 0.5.3"
This reverts commit 3b5a8af36f.
|
2021-10-23 13:07:06 +02:00 |
|
Tim Rid
|
3b5a8af36f
|
incremented version to 0.5.3
|
2021-10-23 13:05:22 +02:00 |
|
timrid
|
7285fd17e4
|
Merge pull request #6 from kevinheavey/fix-packaging
fix setup.py
|
2021-10-23 13:01:38 +02:00 |
|
Tim Rid
|
a71b040847
|
fixed IfThenElse for pyright
|
2021-10-23 12:54:43 +02:00 |
|
kevinheavey
|
cc2410350d
|
fix setup.py
|
2021-10-22 20:00:46 +01:00 |
|
Tim Rid
|
7c310cd771
|
incremented version to 0.5.2
|
2021-07-31 14:00:58 +02:00 |
|
Tim Rid
|
0e9fb3a497
|
added stub for evaluate
|
2021-07-31 13:59:48 +02:00 |
|