[examples] type annotations
This commit is contained in:
parent
dfa0259997
commit
43ccd8de2f
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ from masque.file import gdsii
|
||||||
from masque import Arc, Pattern
|
from masque import Arc, Pattern
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main() -> None:
|
||||||
pat = Pattern()
|
pat = Pattern()
|
||||||
layer = (0, 0)
|
layer = (0, 0)
|
||||||
pat.shapes[layer].extend([
|
pat.shapes[layer].extend([
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ from masque.file import gdsii, dxf, oasis
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main() -> None:
|
||||||
lib = Library()
|
lib = Library()
|
||||||
|
|
||||||
cell_name = 'ellip_grating'
|
cell_name = 'ellip_grating'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue