ef6c5df386
be more consistent about when copies are made
2024-07-29 03:13:23 -07:00
ad0adec8e8
numpy.array(..., copy=False) -> numpy.asarray(...)
...
For numpy 2.0
2024-07-29 02:37:48 -07:00
8fd6896a71
set stacklevel=1
2024-07-28 20:41:17 -07:00
1ae3ffb9a2
linter cleanup
2024-07-28 20:35:37 -07:00
810a09f18b
simplify comparison
2024-07-28 20:34:25 -07:00
97688ffae1
don't want to use context manager here
2024-07-28 20:32:55 -07:00
445c5690e1
use path.open
2024-07-28 20:32:55 -07:00
7e1f617274
fix bug where use_mmap was ignored
2024-07-28 20:32:53 -07:00
b10803efe9
pass along string arg
2024-07-28 20:31:41 -07:00
5f0a450ffa
no need for string annotation
2024-07-28 20:31:41 -07:00
aa3636ebc6
flatten indent
2024-07-28 20:31:41 -07:00
48ffc9709e
double quotes for docstrings
2024-07-28 20:31:41 -07:00
5cdafd580f
don't need ABCMeta here
2024-07-28 20:31:41 -07:00
2cf187fdb8
def-in-loop needs assigments for vars
2024-07-28 20:31:41 -07:00
99e55f931c
refactor to single-line conditional assignments
2024-07-28 20:31:41 -07:00
c48b427c77
mark some missing annotations as intentional
2024-07-28 20:31:41 -07:00
62fc64c344
iteration and collection simplifications
2024-07-28 20:31:41 -07:00
f304217d76
format is ok
2024-07-28 20:31:41 -07:00
ae21a2132e
handle int-based cell references
2024-07-28 20:31:41 -07:00
e159c80b0c
improve error generation and handling
2024-07-28 20:31:41 -07:00
38e9d5c250
use strict zip
2024-07-28 20:31:41 -07:00
5614eea3b4
Update DXF reading
2024-07-28 20:31:41 -07:00
8035daee7e
mark intentionally unused args
2024-07-28 20:31:41 -07:00
4c69e773fd
pass kwargs down into gen_straight()
2024-07-28 20:31:41 -07:00
39d9b88fa4
flatten indentation where it makes sense
2024-07-28 20:31:29 -07:00
9d5b1ef5e6
type annotation updates
2024-07-28 19:44:04 -07:00
3d50ff0070
add ruff config
2024-07-28 19:37:57 -07:00
01fe53dc79
fix final assignment and clarify what's going
2024-07-28 19:37:20 -07:00
d5adf57bc6
fix repr outside of class
2024-07-28 19:35:44 -07:00
4c721feaec
re-exports: import x as x
2024-07-28 19:34:17 -07:00
6ec94fb3c3
import Sequence et al from collections.abc not typing
2024-07-28 19:33:16 -07:00
b1d78b9acb
mkdir examples/layouts/
2024-07-28 19:28:26 -07:00
dca918e63f
notes for more todos
2024-07-28 19:28:05 -07:00
cda895a7d3
remove Builder.path() to avoid confusion with Pather.path()
2024-06-03 17:09:43 -07:00
6db4bb96db
Create an ordering for everything
...
In order to make layouts more reproducible
Also add pattern.sort() and file.utils.preflight_check()
optionally don't sort elements
elements aren't re-ordered that often, sorting them is slow, and the
sort criteria are arbitrary, so we might want to only sort stuff by name
2024-06-03 17:00:20 -07:00
94aa853a49
add plugged() for manually-aligned ports
2024-06-03 16:57:07 -07:00
bb054b9eee
port .copy() should deepcopy
2024-06-03 16:54:25 -07:00
5fb736eb74
add a more descriptive error message
2024-06-03 16:54:15 -07:00
4334d0d50b
fix bounds calculation for arrays with manhattan rotation
2024-06-03 16:54:02 -07:00
31863c9799
reduce compression level to improve speed
2024-06-03 16:53:14 -07:00
30982d742b
make sure kwargs get passed into gen_straight()
2024-06-03 16:53:03 -07:00
447d4ba35b
improve path_into docs and error messages
2024-06-03 16:52:34 -07:00
70a51ed8ef
path_into should use destination port's ptype by default
2024-06-03 16:26:12 -07:00
b33c632569
cache base64encode calls since it's actually fairly slow
2024-03-09 18:38:29 -08:00
c115780bc7
bump version to v3.1
2024-03-30 18:02:40 -07:00
66d9a4eff8
add note about github mirror
2024-03-30 18:01:14 -07:00
3a0c49174b
improve variable naming
2024-03-30 18:01:14 -07:00
8d122cbd2e
add path_into()
2024-03-30 18:01:08 -07:00
383b5a0bef
add plug_into arg
2023-11-24 23:55:39 -08:00
24c77fd3c3
remove custom __copy__
...
no longer necessary now that we're not locking anything
2023-11-18 12:29:36 -08:00