d83ef1ce2d
update type annotations
2024-07-29 18:19:17 -07:00
a4c1e52ff8
Modernize type annotations
2024-07-29 18:19:17 -07:00
b2928c8b1c
Use IO[bytes] instead of BinaryIO wherever possible
2024-07-29 18:19:17 -07:00
f9d4cfec33
WIP indentation and f-string conversions
2024-07-29 18:18:47 -07:00
25fe2067cd
Fix error check to not include properties
2021-07-11 17:14:19 -07:00
60f879a1ad
style fixes (per flake8)
2020-10-16 19:00:00 -07:00
4a878aa7bf
fix type definition for modals
2020-10-16 18:59:45 -07:00
3ca999fa2e
documentation updates
2020-09-10 20:03:19 -07:00
3627b63658
Make records store their associated Property records.
...
Previously, `Property` records were (incorrectly) just associated with
the library or cell.
This requires a change to how `CellName`s are handled by `OasisLayout`,
since they can have associated properties. They now have their own
non-record object (like `XName`s did before) which holds the properties.
There is also now a `FileModals.property_target` attribute which tracks
which record new `Property` rescords should be associated with.
2020-09-10 20:03:01 -07:00
99283aaaf0
enable passing in str where an AString or NString is needed.
2020-05-19 00:47:17 -07:00
3af40dd1bc
Use a dummy unit of -1 when reading (to satisfy type checker)
2020-04-18 15:41:44 -07:00
8fb2f2b594
fix attempted access to xname.string -> xname.bstring
2020-04-18 15:40:35 -07:00
7f0c46525e
improve type annotations
2020-04-18 15:38:52 -07:00
62fca39a69
Modernize comments and type annotations. Ugly commit with a couple code fixes:
...
- modal variable name change: path_halfwidth -> path_half_width
- Fixed `hasattr(other, 'as_list')` calls in __eq__() functions
2020-04-18 03:08:08 -07:00
daf301dfce
Fix reading CELL records with id 14
2018-07-21 13:41:19 -07:00
65e03d67d6
Use logging module for printing
2018-07-21 13:39:47 -07:00
dc5538dd68
initial commit
2017-09-18 03:01:48 -07:00