Commit Graph

20 Commits (d8b60da827dc5d767ba44da8203bbae414ed993b)

Author SHA1 Message Date
jan d8b60da827 use_ours & use_theirs should be passed verbatim to the underlying library 2 years ago
jan 3b0ef1e08d always couple LibDeviceLibrary keys to the underlying Library
See comment for why this is necessary
2 years ago
jan 7603a7a1c8 fix typevar naming 2 years ago
jan 0c1954c9d1 fix missing imports 2 years ago
jan 780d1ca97f export LibDeviceLibrary 2 years ago
jan fc7a6c6f4a fix some unused code 2 years ago
jan 81430fe632 add LibDeviceLibrary 2 years ago
jan 6a1208bc33 add some helper functions to libraries 2 years ago
jan f36350ebee Add some warnings around cache invalidation when mutating items 2 years ago
jan 2e5d51b0af resolve name conflicts rather than just giving up
this lets us merge libraries without having to mutate `other`, which
brings a bunch of problems around cache invalidation
2 years ago
jan 566ba99f9c set_const doesn't need to take in a separate key, can just use the pattern's name
might as well make the convenience function convenient
2 years ago
jan 86315fc32b improve DeviceLibrary docstring 2 years ago
jan 89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2 years ago
Jan Petykiewicz 177f9952a5 Add builder submodule, Device and Port definitions, and DeviceLibrary 4 years ago
Jan Petykiewicz eb11f31960 improve type hints for Library 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 5bc82b9d49 __iter__ should actually return an iterator 4 years ago
Jan Petykiewicz 03a359e446 add more dict-like methods 4 years ago
Jan Petykiewicz b873a5ddf3 make __getitem__ call get_primary rather than the other way around
this makes subclassing easier
4 years ago
Jan Petykiewicz aa5696d884 Add Library management functionality 4 years ago