jan
|
9a077ea2df
|
move to dicty layers and targets
|
9 months ago |
Jan Petykiewicz
|
4482ede3a7
|
use Self type
|
9 months ago |
Jan Petykiewicz
|
1463535676
|
modernize type annotations
|
9 months ago |
Jan Petykiewicz
|
6b01b43559
|
flake8-aided fixes
|
9 months ago |
Jan Petykiewicz
|
a0ca53f57a
|
get rid of "identifier"
|
9 months ago |
jan
|
7ca017d993
|
wip again
|
9 months ago |
jan
|
7aaf73cb37
|
WIP: make libraries and names first-class!
|
9 months ago |
Jan Petykiewicz
|
eb9682b1b8
|
Avoid calling new.unlock() in __deepcopy__()
since the new object's properties aren't necessarily deepcopied yet...
|
2 years ago |
jan
|
a4fe3d9e2e
|
Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases
|
2 years ago |
jan
|
89f327ba37
|
reformat some multiline arg lists and add missing 'None' return types
|
2 years ago |
Jan Petykiewicz
|
db4148a0ff
|
Don't trash label identifiers
|
3 years ago |
Jan Petykiewicz
|
09a5e4a2db
|
type-related fixes and improvements
|
4 years ago |
Jan Petykiewicz
|
2bc03cbbf4
|
improve some more type annotations using TypeVar
|
4 years ago |
Jan Petykiewicz
|
f364970403
|
style and type fixes (per flake8)
could potentially fix some bugs in `Library` class and dxf reader
|
4 years ago |
Jan Petykiewicz
|
f51144ae6a
|
misc doc/import/typing fixes
|
4 years ago |
Jan Petykiewicz
|
0e04633f61
|
Force use of keyword args on most constructors
|
4 years ago |
Jan Petykiewicz
|
49a3b4e322
|
add support for annotations
and other fixes
|
4 years ago |
Jan Petykiewicz
|
629a6a9ba2
|
enable per-shape repetitions
|
4 years ago |
Jan Petykiewicz
|
bab40474a0
|
Add repetitions and split up code into traits
|
4 years ago |
Jan Petykiewicz
|
8302286a7a
|
allow using a string for the layer
Can't use it in gdsii, but no reason to forbit it in masque...
|
4 years ago |
Jan Petykiewicz
|
c236fdb81b
|
Add __repr__ methods to most objects`
These are closer to what __str__ should be and will likely change in the
future.
|
4 years ago |
Jan Petykiewicz
|
c79eee2a8c
|
Stricter locking (lock contained ndarrays and turn lists into tuples)
|
4 years ago |
Jan Petykiewicz
|
79990e3806
|
cosmetic changes
|
4 years ago |
Jan Petykiewicz
|
fa8fc52dd6
|
Improve consistency of ndarray members
|
4 years ago |
Jan Petykiewicz
|
334633662e
|
Remove extra __author__ declarations
|
4 years ago |
Jan Petykiewicz
|
df179c9233
|
Improve type annotations for layer
|
4 years ago |
jan
|
5adabfd25a
|
Docstring format change
(new param and return format)
Also some minor code formatting fixes in utils
|
4 years ago |
Jan Petykiewicz
|
f2e6548d21
|
fix locking issue in __deepcopy__
|
5 years ago |
Jan Petykiewicz
|
e0db621595
|
allow locking of all objects
|
5 years ago |
Jan Petykiewicz
|
58353b7884
|
Remove orphaned comment
|
5 years ago |
Jan Petykiewicz
|
38f64f7c62
|
Use __slots__ for class members
Also use the other sort of type hints for instance variables
|
5 years ago |
Jan Petykiewicz
|
0b962999b2
|
Add arbitrary identifier for labels and subpattern/repetition
|
5 years ago |
Jan Petykiewicz
|
703c1aa6d8
|
Custom deepcopy for labels
|
5 years ago |
jan
|
f3aa27a7c4
|
add missing import
|
6 years ago |
jan
|
4fea49edef
|
Add missing file (support for labels)
|
6 years ago |