From f6da62af9cd9e6a142948214cdbd25fdec60c7a6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:56:44 +0000 Subject: [PATCH 1/2] chore(deps): update dependency liblaf-mkdocs-preset to >=0.3,<0.4 --- pyproject.toml | 2 +- uv.lock | 132 +++++++++++++++++-------------------------------- 2 files changed, 46 insertions(+), 88 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cca6559c..e98607b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ dev = [ "viztracer>=1,<2" ] build = ["check-wheel-contents>=0.6,<0.7", "hatch>=1,<2", "twine>=6,<7"] -docs = ["liblaf-mkdocs-preset>=0.2,<0.3", "mkdocs>=1,<2"] +docs = ["liblaf-mkdocs-preset>=0.3,<0.4", "mkdocs>=1,<2"] test = ["liblaf-pytest-preset>=0.1,<0.2", "pytest>=9,<10"] [build-system] diff --git a/uv.lock b/uv.lock index 4efae9f5..e364ade7 100644 --- a/uv.lock +++ b/uv.lock @@ -687,9 +687,9 @@ dependencies = [ { name = "click" }, { name = "prompt-toolkit" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/cb/a2/57f4ac79838cfae6912f997b4d1a64a858fb0c86d7fcaae6f7b58d267fca/click-repl-0.3.0.tar.gz", hash = "sha256:17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9" } +sdist = { url = "https://files.pythonhosted.org/packages/cb/a2/57f4ac79838cfae6912f997b4d1a64a858fb0c86d7fcaae6f7b58d267fca/click-repl-0.3.0.tar.gz", hash = "sha256:17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9", size = 10449, upload-time = "2023-06-15T12:43:51.141Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/52/40/9d857001228658f0d59e97ebd4c346fe73e138c6de1bce61dc568a57c7f8/click_repl-0.3.0-py3-none-any.whl", hash = "sha256:fb7e06deb8da8de86180a33a9da97ac316751c094c6899382da7feeeeb51b812" }, + { url = "https://files.pythonhosted.org/packages/52/40/9d857001228658f0d59e97ebd4c346fe73e138c6de1bce61dc568a57c7f8/click_repl-0.3.0-py3-none-any.whl", hash = "sha256:fb7e06deb8da8de86180a33a9da97ac316751c094c6899382da7feeeeb51b812", size = 10289, upload-time = "2023-06-15T12:43:48.626Z" }, ] [[package]] @@ -1001,9 +1001,9 @@ wheels = [ name = "cycler" version = "0.12.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615, upload-time = "2023-10-07T05:32:18.335Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30" }, + { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321, upload-time = "2023-10-07T05:32:16.783Z" }, ] [[package]] @@ -1172,9 +1172,9 @@ wheels = [ name = "defusedxml" version = "0.7.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520, upload-time = "2021-03-08T10:59:26.269Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61" }, + { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604, upload-time = "2021-03-08T10:59:24.45Z" }, ] [[package]] @@ -1202,9 +1202,9 @@ wheels = [ name = "diskcache" version = "5.6.3" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc" } +sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc", size = 67916, upload-time = "2023-08-31T06:12:00.316Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19" }, + { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550, upload-time = "2023-08-31T06:11:58.822Z" }, ] [[package]] @@ -1225,18 +1225,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" }, ] -[[package]] -name = "docstring-inheritance" -version = "2.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/44/e0/517e63eeca8302ad1432e3f57da9a081e044ae9916c8e0d3bc1c15ac222f/docstring_inheritance-2.3.0.tar.gz", hash = "sha256:c08c0cd92070c5c551eb9b0a1fbb7f16c7a0bef8bc14980bb38dcf2d5510497d", size = 30743, upload-time = "2025-11-29T12:14:48.091Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/5a/e6/0a9dfc16c3bb08e4db4ad18b48f1a8139666b0453280bce23c92d26d9208/docstring_inheritance-2.3.0-py3-none-any.whl", hash = "sha256:c89519e9deb0877d79a4540effc89a7d59335e2cbcd340ba107d50b76d1bf22e", size = 25322, upload-time = "2025-11-29T12:14:49.27Z" }, -] - [[package]] name = "docstring-parser" version = "0.17.0" @@ -1860,28 +1848,15 @@ wheels = [ [[package]] name = "griffe-fieldz" -version = "0.3.0" +version = "0.4.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "fieldz" }, { name = "griffe" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c5/6a/94754bf39fd63ba424c667b2abf0ade78e3878e223591d1fb9c3e8a77bce/griffe_fieldz-0.3.0.tar.gz", hash = "sha256:42e7707dac51d38e26fb7f3f7f51429da9b47e98060bfeb81a4287456d5b8a89", size = 10149, upload-time = "2025-07-30T21:43:10.042Z" } +sdist = { url = "https://files.pythonhosted.org/packages/3b/aa/eb58d641261f5222651db86976439dccde5dadeda42fb8c3445b1c85b7cc/griffe_fieldz-0.4.0.tar.gz", hash = "sha256:91d25a8199df4be8a5175556d9d8e6f43ef45cf5e93e52b8babfe4cf1037d5ff", size = 13283, upload-time = "2025-12-07T01:55:01.323Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/4d/33/cc527c11132a6274724a04938d50e1ff2b54a5f5943cd0480427571e1adb/griffe_fieldz-0.3.0-py3-none-any.whl", hash = "sha256:52e02fdcbdf6dea3c8c95756d1e0b30861569f871d19437fda702776fde4e64d", size = 6577, upload-time = "2025-07-30T21:43:09.073Z" }, -] - -[[package]] -name = "griffe-generics" -version = "1.0.13" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "griffe" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/d7/87/56a51c97f6a88b2dd4199a12c3a96c12627a24fa9994270d79047c79ecca/griffe_generics-1.0.13.tar.gz", hash = "sha256:00cfd1f1a940fb1566b382a24dbb40b288a694d313e41363cfc3e30093c358b3", size = 8064, upload-time = "2025-01-18T07:44:05.332Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d5/59/96c5bfdc24f5942690ac6161d425d4cc181d4c4624eb3f54b5d244672908/griffe_generics-1.0.13-py3-none-any.whl", hash = "sha256:e8139e485d256d0eba97ab310368c8800048918f0d5c7257817d769bba76ac94", size = 10557, upload-time = "2025-01-18T07:44:03.507Z" }, + { url = "https://files.pythonhosted.org/packages/af/68/b7aa4caf9567863908b3b928e3ec141787044e3392d429e5b453f70bbfa4/griffe_fieldz-0.4.0-py3-none-any.whl", hash = "sha256:92b7ed3fd86c1da35b2851a272913ef27439c9cc3c232c15cab7eda34d2a51ad", size = 9087, upload-time = "2025-12-07T01:54:59.924Z" }, ] [[package]] @@ -1896,19 +1871,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ad/12/4c67b644dc5965000874908dfa89d05ba878d5ca22a9b4ebfbfadc41467b/griffe_inherited_docstrings-1.1.2-py3-none-any.whl", hash = "sha256:b1cf61fff6e12a769db75de5718ddbbb5361b2cc4155af1f1ad86c13f56c197b", size = 6709, upload-time = "2025-09-05T15:17:11.853Z" }, ] -[[package]] -name = "griffe-modernized-annotations" -version = "1.0.8" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "griffe" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/34/89/70efdbdbf5ca13cf6919368b542de78b8d0f5cca77f04f533d9f89cd9639/griffe_modernized_annotations-1.0.8.tar.gz", hash = "sha256:f4cd757260d2ebdb96d361c8ab882015955225bc3edc4713073b5a81ddad75b0", size = 8409, upload-time = "2024-08-16T10:02:48.106Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/54/f2defd39a3e258abda26e6c0ec0611611c5757e97d73defd64a4e917f5e9/griffe_modernized_annotations-1.0.8-py3-none-any.whl", hash = "sha256:d84b2d03d9c3127c2548f1eaa04dc3eba6cde34c0a2c4ae64f627908984e973d", size = 12158, upload-time = "2024-08-16T10:02:46.917Z" }, -] - [[package]] name = "griffe-pydantic" version = "1.2.0" @@ -2739,7 +2701,7 @@ dev = [ { name = "viztracer", specifier = ">=1,<2" }, ] docs = [ - { name = "liblaf-mkdocs-preset", specifier = ">=0.2,<0.3" }, + { name = "liblaf-mkdocs-preset", specifier = ">=0.3,<0.4" }, { name = "mkdocs", specifier = ">=1,<2" }, ] test = [ @@ -2840,14 +2802,11 @@ wheels = [ [[package]] name = "liblaf-mkdocs-preset" -version = "0.2.2" +version = "0.3.2" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "docstring-inheritance" }, { name = "griffe-fieldz" }, - { name = "griffe-generics" }, { name = "griffe-inherited-docstrings" }, - { name = "griffe-modernized-annotations" }, { name = "griffe-pydantic" }, { name = "griffe-warnings-deprecated" }, { name = "mdx-truly-sane-lists" }, @@ -2863,9 +2822,9 @@ dependencies = [ { name = "pymdown-extensions" }, { name = "ruff" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b6/62/6a0b33cc7fedb1fd2163a1c70e40d45a39cf7618ba753431d3df6ef1c70c/liblaf_mkdocs_preset-0.2.2.tar.gz", hash = "sha256:ae6450329594ad167dfebaebd9d35e28610d7748c7c130ee6c4120a8e9b0bd99", size = 4541, upload-time = "2025-10-12T01:22:07.455Z" } +sdist = { url = "https://files.pythonhosted.org/packages/99/74/d757bc53fd8bd1b40984ac7cf279b2e10fd871295556c63aa41239eb02c4/liblaf_mkdocs_preset-0.3.2.tar.gz", hash = "sha256:0d75985b385399b81e2cf37520ad62e4f90fe20e1d243fb05ddb7711e39ec430", size = 4476, upload-time = "2026-02-08T01:48:01.218Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/1d/75/ede35005d36356816ca2ebf70a91954cc70c85a6fc5e2c8b665289de5628/liblaf_mkdocs_preset-0.2.2-py3-none-any.whl", hash = "sha256:26090eff15e729a072fe8700e327f933b9853c8ee601378a890d832f9df5892d", size = 3897, upload-time = "2025-10-12T01:22:05.766Z" }, + { url = "https://files.pythonhosted.org/packages/68/ca/e7b87346133d26cea80ceab3d0f4dd46ff875fb550afeb04dc3a145d8696/liblaf_mkdocs_preset-0.3.2-py3-none-any.whl", hash = "sha256:1a837299e625b7dc29feade3e67bc17a360ddb75dc5d35be85f9eefc8b2c325b", size = 3856, upload-time = "2026-02-08T01:47:59.489Z" }, ] [[package]] @@ -3472,14 +3431,14 @@ imaging = [ name = "mkdocs-material-extensions" version = "1.3.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/79/9b/9b4c96d6593b2a541e1cb8b34899a6d021d208bb357042823d4d2cabdbe7/mkdocs_material_extensions-1.3.1.tar.gz", hash = "sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443" } +sdist = { url = "https://files.pythonhosted.org/packages/79/9b/9b4c96d6593b2a541e1cb8b34899a6d021d208bb357042823d4d2cabdbe7/mkdocs_material_extensions-1.3.1.tar.gz", hash = "sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443", size = 11847, upload-time = "2023-11-22T19:09:45.208Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5b/54/662a4743aa81d9582ee9339d4ffa3c8fd40a4965e033d77b9da9774d3960/mkdocs_material_extensions-1.3.1-py3-none-any.whl", hash = "sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31" }, + { url = "https://files.pythonhosted.org/packages/5b/54/662a4743aa81d9582ee9339d4ffa3c8fd40a4965e033d77b9da9774d3960/mkdocs_material_extensions-1.3.1-py3-none-any.whl", hash = "sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31", size = 8728, upload-time = "2023-11-22T19:09:43.465Z" }, ] [[package]] name = "mkdocstrings" -version = "0.30.1" +version = "1.0.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "jinja2" }, @@ -3489,9 +3448,9 @@ dependencies = [ { name = "mkdocs-autorefs" }, { name = "pymdown-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c5/33/2fa3243439f794e685d3e694590d28469a9b8ea733af4b48c250a3ffc9a0/mkdocstrings-0.30.1.tar.gz", hash = "sha256:84a007aae9b707fb0aebfc9da23db4b26fc9ab562eb56e335e9ec480cb19744f", size = 106350, upload-time = "2025-09-19T10:49:26.446Z" } +sdist = { url = "https://files.pythonhosted.org/packages/46/62/0dfc5719514115bf1781f44b1d7f2a0923fcc01e9c5d7990e48a05c9ae5d/mkdocstrings-1.0.3.tar.gz", hash = "sha256:ab670f55040722b49bb45865b2e93b824450fb4aef638b00d7acb493a9020434", size = 100946, upload-time = "2026-02-07T14:31:40.973Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7b/2c/f0dc4e1ee7f618f5bff7e05898d20bf8b6e7fa612038f768bfa295f136a4/mkdocstrings-0.30.1-py3-none-any.whl", hash = "sha256:41bd71f284ca4d44a668816193e4025c950b002252081e387433656ae9a70a82", size = 36704, upload-time = "2025-09-19T10:49:24.805Z" }, + { url = "https://files.pythonhosted.org/packages/04/41/1cf02e3df279d2dd846a1bf235a928254eba9006dd22b4a14caa71aed0f7/mkdocstrings-1.0.3-py3-none-any.whl", hash = "sha256:0d66d18430c2201dc7fe85134277382baaa15e6b30979f3f3bdbabd6dbdb6046", size = 35523, upload-time = "2026-02-07T14:31:39.27Z" }, ] [package.optional-dependencies] @@ -3718,9 +3677,9 @@ wheels = [ name = "natsort" version = "8.4.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e2/a9/a0c57aee75f77794adaf35322f8b6404cbd0f89ad45c87197a937764b7d0/natsort-8.4.0.tar.gz", hash = "sha256:45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581" } +sdist = { url = "https://files.pythonhosted.org/packages/e2/a9/a0c57aee75f77794adaf35322f8b6404cbd0f89ad45c87197a937764b7d0/natsort-8.4.0.tar.gz", hash = "sha256:45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581", size = 76575, upload-time = "2023-06-20T04:17:19.925Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/82/7a9d0550484a62c6da82858ee9419f3dd1ccc9aa1c26a1e43da3ecd20b0d/natsort-8.4.0-py3-none-any.whl", hash = "sha256:4732914fb471f56b5cce04d7bae6f164a592c7712e1c85f9ef585e197299521c" }, + { url = "https://files.pythonhosted.org/packages/ef/82/7a9d0550484a62c6da82858ee9419f3dd1ccc9aa1c26a1e43da3ecd20b0d/natsort-8.4.0-py3-none-any.whl", hash = "sha256:4732914fb471f56b5cce04d7bae6f164a592c7712e1c85f9ef585e197299521c", size = 38268, upload-time = "2023-06-20T04:17:17.522Z" }, ] [[package]] @@ -4343,9 +4302,9 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "ptyprocess" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f" } +sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523" }, + { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" }, ] [[package]] @@ -8067,28 +8026,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.14.14" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/2e/06/f71e3a86b2df0dfa2d2f72195941cd09b44f87711cb7fa5193732cb9a5fc/ruff-0.14.14.tar.gz", hash = "sha256:2d0f819c9a90205f3a867dbbd0be083bee9912e170fd7d9704cc8ae45824896b", size = 4515732, upload-time = "2026-01-22T22:30:17.527Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d2/89/20a12e97bc6b9f9f68343952da08a8099c57237aef953a56b82711d55edd/ruff-0.14.14-py3-none-linux_armv6l.whl", hash = "sha256:7cfe36b56e8489dee8fbc777c61959f60ec0f1f11817e8f2415f429552846aed", size = 10467650, upload-time = "2026-01-22T22:30:08.578Z" }, - { url = "https://files.pythonhosted.org/packages/a3/b1/c5de3fd2d5a831fcae21beda5e3589c0ba67eec8202e992388e4b17a6040/ruff-0.14.14-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6006a0082336e7920b9573ef8a7f52eec837add1265cc74e04ea8a4368cd704c", size = 10883245, upload-time = "2026-01-22T22:30:04.155Z" }, - { url = "https://files.pythonhosted.org/packages/b8/7c/3c1db59a10e7490f8f6f8559d1db8636cbb13dccebf18686f4e3c9d7c772/ruff-0.14.14-py3-none-macosx_11_0_arm64.whl", hash = "sha256:026c1d25996818f0bf498636686199d9bd0d9d6341c9c2c3b62e2a0198b758de", size = 10231273, upload-time = "2026-01-22T22:30:34.642Z" }, - { url = "https://files.pythonhosted.org/packages/a1/6e/5e0e0d9674be0f8581d1f5e0f0a04761203affce3232c1a1189d0e3b4dad/ruff-0.14.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f666445819d31210b71e0a6d1c01e24447a20b85458eea25a25fe8142210ae0e", size = 10585753, upload-time = "2026-01-22T22:30:31.781Z" }, - { url = "https://files.pythonhosted.org/packages/23/09/754ab09f46ff1884d422dc26d59ba18b4e5d355be147721bb2518aa2a014/ruff-0.14.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3c0f18b922c6d2ff9a5e6c3ee16259adc513ca775bcf82c67ebab7cbd9da5bc8", size = 10286052, upload-time = "2026-01-22T22:30:24.827Z" }, - { url = "https://files.pythonhosted.org/packages/c8/cc/e71f88dd2a12afb5f50733851729d6b571a7c3a35bfdb16c3035132675a0/ruff-0.14.14-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1629e67489c2dea43e8658c3dba659edbfd87361624b4040d1df04c9740ae906", size = 11043637, upload-time = "2026-01-22T22:30:13.239Z" }, - { url = "https://files.pythonhosted.org/packages/67/b2/397245026352494497dac935d7f00f1468c03a23a0c5db6ad8fc49ca3fb2/ruff-0.14.14-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:27493a2131ea0f899057d49d303e4292b2cae2bb57253c1ed1f256fbcd1da480", size = 12194761, upload-time = "2026-01-22T22:30:22.542Z" }, - { url = "https://files.pythonhosted.org/packages/5b/06/06ef271459f778323112c51b7587ce85230785cd64e91772034ddb88f200/ruff-0.14.14-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:01ff589aab3f5b539e35db38425da31a57521efd1e4ad1ae08fc34dbe30bd7df", size = 12005701, upload-time = "2026-01-22T22:30:20.499Z" }, - { url = "https://files.pythonhosted.org/packages/41/d6/99364514541cf811ccc5ac44362f88df66373e9fec1b9d1c4cc830593fe7/ruff-0.14.14-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1cc12d74eef0f29f51775f5b755913eb523546b88e2d733e1d701fe65144e89b", size = 11282455, upload-time = "2026-01-22T22:29:59.679Z" }, - { url = "https://files.pythonhosted.org/packages/ca/71/37daa46f89475f8582b7762ecd2722492df26421714a33e72ccc9a84d7a5/ruff-0.14.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb8481604b7a9e75eff53772496201690ce2687067e038b3cc31aaf16aa0b974", size = 11215882, upload-time = "2026-01-22T22:29:57.032Z" }, - { url = "https://files.pythonhosted.org/packages/2c/10/a31f86169ec91c0705e618443ee74ede0bdd94da0a57b28e72db68b2dbac/ruff-0.14.14-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:14649acb1cf7b5d2d283ebd2f58d56b75836ed8c6f329664fa91cdea19e76e66", size = 11180549, upload-time = "2026-01-22T22:30:27.175Z" }, - { url = "https://files.pythonhosted.org/packages/fd/1e/c723f20536b5163adf79bdd10c5f093414293cdf567eed9bdb7b83940f3f/ruff-0.14.14-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8058d2145566510790eab4e2fad186002e288dec5e0d343a92fe7b0bc1b3e13", size = 10543416, upload-time = "2026-01-22T22:30:01.964Z" }, - { url = "https://files.pythonhosted.org/packages/3e/34/8a84cea7e42c2d94ba5bde1d7a4fae164d6318f13f933d92da6d7c2041ff/ruff-0.14.14-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:e651e977a79e4c758eb807f0481d673a67ffe53cfa92209781dfa3a996cf8412", size = 10285491, upload-time = "2026-01-22T22:30:29.51Z" }, - { url = "https://files.pythonhosted.org/packages/55/ef/b7c5ea0be82518906c978e365e56a77f8de7678c8bb6651ccfbdc178c29f/ruff-0.14.14-py3-none-musllinux_1_2_i686.whl", hash = "sha256:cc8b22da8d9d6fdd844a68ae937e2a0adf9b16514e9a97cc60355e2d4b219fc3", size = 10733525, upload-time = "2026-01-22T22:30:06.499Z" }, - { url = "https://files.pythonhosted.org/packages/6a/5b/aaf1dfbcc53a2811f6cc0a1759de24e4b03e02ba8762daabd9b6bd8c59e3/ruff-0.14.14-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:16bc890fb4cc9781bb05beb5ab4cd51be9e7cb376bf1dd3580512b24eb3fda2b", size = 11315626, upload-time = "2026-01-22T22:30:36.848Z" }, - { url = "https://files.pythonhosted.org/packages/2c/aa/9f89c719c467dfaf8ad799b9bae0df494513fb21d31a6059cb5870e57e74/ruff-0.14.14-py3-none-win32.whl", hash = "sha256:b530c191970b143375b6a68e6f743800b2b786bbcf03a7965b06c4bf04568167", size = 10502442, upload-time = "2026-01-22T22:30:38.93Z" }, - { url = "https://files.pythonhosted.org/packages/87/44/90fa543014c45560cae1fffc63ea059fb3575ee6e1cb654562197e5d16fb/ruff-0.14.14-py3-none-win_amd64.whl", hash = "sha256:3dde1435e6b6fe5b66506c1dff67a421d0b7f6488d466f651c07f4cab3bf20fd", size = 11630486, upload-time = "2026-01-22T22:30:10.852Z" }, - { url = "https://files.pythonhosted.org/packages/9e/6a/40fee331a52339926a92e17ae748827270b288a35ef4a15c9c8f2ec54715/ruff-0.14.14-py3-none-win_arm64.whl", hash = "sha256:56e6981a98b13a32236a72a8da421d7839221fa308b223b9283312312e5ac76c", size = 10920448, upload-time = "2026-01-22T22:30:15.417Z" }, +version = "0.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c8/39/5cee96809fbca590abea6b46c6d1c586b49663d1d2830a751cc8fc42c666/ruff-0.15.0.tar.gz", hash = "sha256:6bdea47cdbea30d40f8f8d7d69c0854ba7c15420ec75a26f463290949d7f7e9a", size = 4524893, upload-time = "2026-02-03T17:53:35.357Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bc/88/3fd1b0aa4b6330d6aaa63a285bc96c9f71970351579152d231ed90914586/ruff-0.15.0-py3-none-linux_armv6l.whl", hash = "sha256:aac4ebaa612a82b23d45964586f24ae9bc23ca101919f5590bdb368d74ad5455", size = 10354332, upload-time = "2026-02-03T17:52:54.892Z" }, + { url = "https://files.pythonhosted.org/packages/72/f6/62e173fbb7eb75cc29fe2576a1e20f0a46f671a2587b5f604bfb0eaf5f6f/ruff-0.15.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:dcd4be7cc75cfbbca24a98d04d0b9b36a270d0833241f776b788d59f4142b14d", size = 10767189, upload-time = "2026-02-03T17:53:19.778Z" }, + { url = "https://files.pythonhosted.org/packages/99/e4/968ae17b676d1d2ff101d56dc69cf333e3a4c985e1ec23803df84fc7bf9e/ruff-0.15.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d747e3319b2bce179c7c1eaad3d884dc0a199b5f4d5187620530adf9105268ce", size = 10075384, upload-time = "2026-02-03T17:53:29.241Z" }, + { url = "https://files.pythonhosted.org/packages/a2/bf/9843c6044ab9e20af879c751487e61333ca79a2c8c3058b15722386b8cae/ruff-0.15.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:650bd9c56ae03102c51a5e4b554d74d825ff3abe4db22b90fd32d816c2e90621", size = 10481363, upload-time = "2026-02-03T17:52:43.332Z" }, + { url = "https://files.pythonhosted.org/packages/55/d9/4ada5ccf4cd1f532db1c8d44b6f664f2208d3d93acbeec18f82315e15193/ruff-0.15.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a6664b7eac559e3048223a2da77769c2f92b43a6dfd4720cef42654299a599c9", size = 10187736, upload-time = "2026-02-03T17:53:00.522Z" }, + { url = "https://files.pythonhosted.org/packages/86/e2/f25eaecd446af7bb132af0a1d5b135a62971a41f5366ff41d06d25e77a91/ruff-0.15.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f811f97b0f092b35320d1556f3353bf238763420ade5d9e62ebd2b73f2ff179", size = 10968415, upload-time = "2026-02-03T17:53:15.705Z" }, + { url = "https://files.pythonhosted.org/packages/e7/dc/f06a8558d06333bf79b497d29a50c3a673d9251214e0d7ec78f90b30aa79/ruff-0.15.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:761ec0a66680fab6454236635a39abaf14198818c8cdf691e036f4bc0f406b2d", size = 11809643, upload-time = "2026-02-03T17:53:23.031Z" }, + { url = "https://files.pythonhosted.org/packages/dd/45/0ece8db2c474ad7df13af3a6d50f76e22a09d078af63078f005057ca59eb/ruff-0.15.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:940f11c2604d317e797b289f4f9f3fa5555ffe4fb574b55ed006c3d9b6f0eb78", size = 11234787, upload-time = "2026-02-03T17:52:46.432Z" }, + { url = "https://files.pythonhosted.org/packages/8a/d9/0e3a81467a120fd265658d127db648e4d3acfe3e4f6f5d4ea79fac47e587/ruff-0.15.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bcbca3d40558789126da91d7ef9a7c87772ee107033db7191edefa34e2c7f1b4", size = 11112797, upload-time = "2026-02-03T17:52:49.274Z" }, + { url = "https://files.pythonhosted.org/packages/b2/cb/8c0b3b0c692683f8ff31351dfb6241047fa873a4481a76df4335a8bff716/ruff-0.15.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9a121a96db1d75fa3eb39c4539e607f628920dd72ff1f7c5ee4f1b768ac62d6e", size = 11033133, upload-time = "2026-02-03T17:53:33.105Z" }, + { url = "https://files.pythonhosted.org/packages/f8/5e/23b87370cf0f9081a8c89a753e69a4e8778805b8802ccfe175cc410e50b9/ruff-0.15.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:5298d518e493061f2eabd4abd067c7e4fb89e2f63291c94332e35631c07c3662", size = 10442646, upload-time = "2026-02-03T17:53:06.278Z" }, + { url = "https://files.pythonhosted.org/packages/e1/9a/3c94de5ce642830167e6d00b5c75aacd73e6347b4c7fc6828699b150a5ee/ruff-0.15.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:afb6e603d6375ff0d6b0cee563fa21ab570fd15e65c852cb24922cef25050cf1", size = 10195750, upload-time = "2026-02-03T17:53:26.084Z" }, + { url = "https://files.pythonhosted.org/packages/30/15/e396325080d600b436acc970848d69df9c13977942fb62bb8722d729bee8/ruff-0.15.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:77e515f6b15f828b94dc17d2b4ace334c9ddb7d9468c54b2f9ed2b9c1593ef16", size = 10676120, upload-time = "2026-02-03T17:53:09.363Z" }, + { url = "https://files.pythonhosted.org/packages/8d/c9/229a23d52a2983de1ad0fb0ee37d36e0257e6f28bfd6b498ee2c76361874/ruff-0.15.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:6f6e80850a01eb13b3e42ee0ebdf6e4497151b48c35051aab51c101266d187a3", size = 11201636, upload-time = "2026-02-03T17:52:57.281Z" }, + { url = "https://files.pythonhosted.org/packages/6f/b0/69adf22f4e24f3677208adb715c578266842e6e6a3cc77483f48dd999ede/ruff-0.15.0-py3-none-win32.whl", hash = "sha256:238a717ef803e501b6d51e0bdd0d2c6e8513fe9eec14002445134d3907cd46c3", size = 10465945, upload-time = "2026-02-03T17:53:12.591Z" }, + { url = "https://files.pythonhosted.org/packages/51/ad/f813b6e2c97e9b4598be25e94a9147b9af7e60523b0cb5d94d307c15229d/ruff-0.15.0-py3-none-win_amd64.whl", hash = "sha256:dd5e4d3301dc01de614da3cdffc33d4b1b96fb89e45721f1598e5532ccf78b18", size = 11564657, upload-time = "2026-02-03T17:52:51.893Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b0/2d823f6e77ebe560f4e397d078487e8d52c1516b331e3521bc75db4272ca/ruff-0.15.0-py3-none-win_arm64.whl", hash = "sha256:c480d632cc0ca3f0727acac8b7d053542d9e114a462a145d0b00e7cd658c515a", size = 10865753, upload-time = "2026-02-03T17:53:03.014Z" }, ] [[package]] From e913fccb2f881893a6876501d58d30a173981826 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:56:53 +0000 Subject: [PATCH 2/2] chore(ci): auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- exp/2025/08/27/inverse-segement/src/20-forward.py | 2 +- exp/2025/08/27/inverse-segement/src/30-inverse.py | 2 +- exp/2025/08/27/inverse/src/20-forward.py | 2 +- exp/2025/08/27/inverse/src/30-inverse.py | 2 +- exp/2025/09/10/inverse-mixed/src/20-forward.py | 2 +- exp/2025/09/10/inverse-mixed/src/30-inverse.py | 10 +++++----- exp/2025/09/10/inverse/src/20-forward.py | 2 +- exp/2025/09/10/inverse/src/30-inverse.py | 10 +++++----- exp/2025/09/10/inverse/src/31-inverse-v2.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/20-forward.py | 2 +- exp/2025/09/24/inverse-grin/src/21-forward.py | 2 +- exp/2025/09/24/inverse-grin/src/30-inverse.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/31-inverse.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/32-inverse.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/33-inverse-no-reg.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/34-inverse-no-reg.py | 10 +++++----- .../09/24/inverse-grin/src/35-inverse-small-reg.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/36-inverse-abs.py | 10 +++++----- .../09/24/inverse-grin/src/37-inverse-quadratic.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/38-inverse-cbrt.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/39-inverse-sparse.py | 10 +++++----- exp/2025/09/24/inverse-grin/src/41-inspect-inverse.py | 2 +- exp/2025/10/22/inverse-flame/src/30-animate.py | 2 +- exp/2025/10/29/muscle-fiber-direction/src/10-solve.py | 2 +- tests/warp/energies/elastic/hyperelastic/common.py | 4 ++-- .../elastic/hyperelastic/func/test_gradients.py | 2 +- .../elastic/hyperelastic/func/test_hess_diag.py | 4 ++-- .../elastic/hyperelastic/func/test_hess_prod.py | 4 ++-- .../elastic/hyperelastic/func/test_hess_quad.py | 4 ++-- tests/warp/energies/elastic/hyperelastic/test_arap.py | 2 +- .../energies/elastic/hyperelastic/test_arap_muscle.py | 2 +- tests/warp/energies/elastic/hyperelastic/test_phace.py | 2 +- 32 files changed, 88 insertions(+), 88 deletions(-) diff --git a/exp/2025/08/27/inverse-segement/src/20-forward.py b/exp/2025/08/27/inverse-segement/src/20-forward.py index 2ae0e88b..f8c087f0 100644 --- a/exp/2025/08/27/inverse-segement/src/20-forward.py +++ b/exp/2025/08/27/inverse-segement/src/20-forward.py @@ -4,13 +4,13 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim from liblaf.apple.jax import optim from liblaf.apple.jax import sim as sim_jax -from liblaf.apple.jax.typing import Vector jax.config.update("jax_enable_x64", True) # noqa: FBT003 diff --git a/exp/2025/08/27/inverse-segement/src/30-inverse.py b/exp/2025/08/27/inverse-segement/src/30-inverse.py index 598abe1f..f5d64b4d 100644 --- a/exp/2025/08/27/inverse-segement/src/30-inverse.py +++ b/exp/2025/08/27/inverse-segement/src/30-inverse.py @@ -9,13 +9,13 @@ import numpy as np import pyvista as pv from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector from loguru import logger from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree from liblaf.apple.jax import sim as sim_jax -from liblaf.apple.jax.typing import Scalar, Vector class Config(cherries.BaseConfig): diff --git a/exp/2025/08/27/inverse/src/20-forward.py b/exp/2025/08/27/inverse/src/20-forward.py index e14058b2..ee9df9ba 100644 --- a/exp/2025/08/27/inverse/src/20-forward.py +++ b/exp/2025/08/27/inverse/src/20-forward.py @@ -4,13 +4,13 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim from liblaf.apple.jax import optim from liblaf.apple.jax import sim as sim_jax -from liblaf.apple.jax.typing import Vector jax.config.update("jax_enable_x64", True) # noqa: FBT003 diff --git a/exp/2025/08/27/inverse/src/30-inverse.py b/exp/2025/08/27/inverse/src/30-inverse.py index 4eab8679..e2690e02 100644 --- a/exp/2025/08/27/inverse/src/30-inverse.py +++ b/exp/2025/08/27/inverse/src/30-inverse.py @@ -9,13 +9,13 @@ import numpy as np import pyvista as pv from jaxtyping import Array, Float +from liblaf.apple.jax.typing import Scalar, Vector from loguru import logger from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree from liblaf.apple.jax import sim as sim_jax -from liblaf.apple.jax.typing import Scalar, Vector os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" jax.config.update("jax_enable_x64", True) # noqa: FBT003 diff --git a/exp/2025/09/10/inverse-mixed/src/20-forward.py b/exp/2025/09/10/inverse-mixed/src/20-forward.py index b9782b3b..587dacf4 100644 --- a/exp/2025/09/10/inverse-mixed/src/20-forward.py +++ b/exp/2025/09/10/inverse-mixed/src/20-forward.py @@ -3,12 +3,12 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim from liblaf.apple.jax import optim -from liblaf.apple.jax.typing import Vector from liblaf.apple.warp import sim as sim_wp diff --git a/exp/2025/09/10/inverse-mixed/src/30-inverse.py b/exp/2025/09/10/inverse-mixed/src/30-inverse.py index 04df21db..f1928eaa 100644 --- a/exp/2025/09/10/inverse-mixed/src/30-inverse.py +++ b/exp/2025/09/10/inverse-mixed/src/30-inverse.py @@ -6,21 +6,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.sim.energy.elastic import utils +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.sim.energy.elastic import utils -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 @lx.is_positive_semidefinite.register(lx.DiagonalLinearOperator) diff --git a/exp/2025/09/10/inverse/src/20-forward.py b/exp/2025/09/10/inverse/src/20-forward.py index affcfc69..8d16e075 100644 --- a/exp/2025/09/10/inverse/src/20-forward.py +++ b/exp/2025/09/10/inverse/src/20-forward.py @@ -3,12 +3,12 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim from liblaf.apple.jax import optim -from liblaf.apple.jax.typing import Vector from liblaf.apple.warp import sim as sim_wp diff --git a/exp/2025/09/10/inverse/src/30-inverse.py b/exp/2025/09/10/inverse/src/30-inverse.py index b7b926cd..59947d5d 100644 --- a/exp/2025/09/10/inverse/src/30-inverse.py +++ b/exp/2025/09/10/inverse/src/30-inverse.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Float +from liblaf.apple.jax.sim.energy.elastic import utils +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.sim.energy.elastic import utils -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 @lx.is_positive_semidefinite.register(lx.DiagonalLinearOperator) diff --git a/exp/2025/09/10/inverse/src/31-inverse-v2.py b/exp/2025/09/10/inverse/src/31-inverse-v2.py index aa97b326..8b57a256 100644 --- a/exp/2025/09/10/inverse/src/31-inverse-v2.py +++ b/exp/2025/09/10/inverse/src/31-inverse-v2.py @@ -6,21 +6,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.sim.energy.elastic import utils +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.sim.energy.elastic import utils -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 @lx.is_positive_semidefinite.register(lx.DiagonalLinearOperator) diff --git a/exp/2025/09/24/inverse-grin/src/20-forward.py b/exp/2025/09/24/inverse-grin/src/20-forward.py index f4d8e179..06eaf357 100644 --- a/exp/2025/09/24/inverse-grin/src/20-forward.py +++ b/exp/2025/09/24/inverse-grin/src/20-forward.py @@ -3,12 +3,12 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim from liblaf.apple.jax import optim -from liblaf.apple.jax.typing import Vector from liblaf.apple.warp import sim as sim_wp diff --git a/exp/2025/09/24/inverse-grin/src/21-forward.py b/exp/2025/09/24/inverse-grin/src/21-forward.py index f601ed2b..dce79e61 100644 --- a/exp/2025/09/24/inverse-grin/src/21-forward.py +++ b/exp/2025/09/24/inverse-grin/src/21-forward.py @@ -3,12 +3,12 @@ import jax.numpy as jnp import numpy as np import pyvista as pv +from liblaf.apple.jax.typing import Vector from liblaf.peach import optim from loguru import logger from liblaf import cherries, melon from liblaf.apple import sim -from liblaf.apple.jax.typing import Vector from liblaf.apple.warp import sim as sim_wp diff --git a/exp/2025/09/24/inverse-grin/src/30-inverse.py b/exp/2025/09/24/inverse-grin/src/30-inverse.py index fe10e27a..c6065d6b 100644 --- a/exp/2025/09/24/inverse-grin/src/30-inverse.py +++ b/exp/2025/09/24/inverse-grin/src/30-inverse.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/31-inverse.py b/exp/2025/09/24/inverse-grin/src/31-inverse.py index 8ae3671f..51457515 100644 --- a/exp/2025/09/24/inverse-grin/src/31-inverse.py +++ b/exp/2025/09/24/inverse-grin/src/31-inverse.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/32-inverse.py b/exp/2025/09/24/inverse-grin/src/32-inverse.py index d1e15c78..8b1dfb76 100644 --- a/exp/2025/09/24/inverse-grin/src/32-inverse.py +++ b/exp/2025/09/24/inverse-grin/src/32-inverse.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/33-inverse-no-reg.py b/exp/2025/09/24/inverse-grin/src/33-inverse-no-reg.py index 30d39a25..76e0f560 100644 --- a/exp/2025/09/24/inverse-grin/src/33-inverse-no-reg.py +++ b/exp/2025/09/24/inverse-grin/src/33-inverse-no-reg.py @@ -5,22 +5,22 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import scipy.optimize import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/34-inverse-no-reg.py b/exp/2025/09/24/inverse-grin/src/34-inverse-no-reg.py index d8cfd962..1872f228 100644 --- a/exp/2025/09/24/inverse-grin/src/34-inverse-no-reg.py +++ b/exp/2025/09/24/inverse-grin/src/34-inverse-no-reg.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/35-inverse-small-reg.py b/exp/2025/09/24/inverse-grin/src/35-inverse-small-reg.py index 39468d46..3659b870 100644 --- a/exp/2025/09/24/inverse-grin/src/35-inverse-small-reg.py +++ b/exp/2025/09/24/inverse-grin/src/35-inverse-small-reg.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/36-inverse-abs.py b/exp/2025/09/24/inverse-grin/src/36-inverse-abs.py index d9418a6d..ade7b814 100644 --- a/exp/2025/09/24/inverse-grin/src/36-inverse-abs.py +++ b/exp/2025/09/24/inverse-grin/src/36-inverse-abs.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/37-inverse-quadratic.py b/exp/2025/09/24/inverse-grin/src/37-inverse-quadratic.py index abf5cfe4..e6757dbf 100644 --- a/exp/2025/09/24/inverse-grin/src/37-inverse-quadratic.py +++ b/exp/2025/09/24/inverse-grin/src/37-inverse-quadratic.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/38-inverse-cbrt.py b/exp/2025/09/24/inverse-grin/src/38-inverse-cbrt.py index 8e757e2c..ba2c8900 100644 --- a/exp/2025/09/24/inverse-grin/src/38-inverse-cbrt.py +++ b/exp/2025/09/24/inverse-grin/src/38-inverse-cbrt.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/39-inverse-sparse.py b/exp/2025/09/24/inverse-grin/src/39-inverse-sparse.py index a3a5b8f1..57d57742 100644 --- a/exp/2025/09/24/inverse-grin/src/39-inverse-sparse.py +++ b/exp/2025/09/24/inverse-grin/src/39-inverse-sparse.py @@ -5,21 +5,21 @@ import equinox as eqx import jax import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax +import liblaf.apple.warp.sim as sim_wp +import liblaf.apple.warp.utils as wp_utils import lineax as lx import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, Bool, Float +from liblaf.apple.jax.typing import Scalar, Vector +from liblaf.apple.warp.typing import vec6 from loguru import logger -import liblaf.apple.jax.sim as sim_jax -import liblaf.apple.warp.sim as sim_wp -import liblaf.apple.warp.utils as wp_utils from liblaf import cherries, grapes, melon from liblaf.apple import sim from liblaf.apple.jax import optim, tree -from liblaf.apple.jax.typing import Scalar, Vector -from liblaf.apple.warp.typing import vec6 os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.25" diff --git a/exp/2025/09/24/inverse-grin/src/41-inspect-inverse.py b/exp/2025/09/24/inverse-grin/src/41-inspect-inverse.py index 18f8a305..ed52391d 100644 --- a/exp/2025/09/24/inverse-grin/src/41-inspect-inverse.py +++ b/exp/2025/09/24/inverse-grin/src/41-inspect-inverse.py @@ -1,9 +1,9 @@ import jax.numpy as jnp +import liblaf.apple.jax.sim as sim_jax import numpy as np import pyvista as pv from jaxtyping import Array, Float -import liblaf.apple.jax.sim as sim_jax from liblaf import melon diff --git a/exp/2025/10/22/inverse-flame/src/30-animate.py b/exp/2025/10/22/inverse-flame/src/30-animate.py index 7e1613ea..9d8f0048 100644 --- a/exp/2025/10/22/inverse-flame/src/30-animate.py +++ b/exp/2025/10/22/inverse-flame/src/30-animate.py @@ -6,6 +6,7 @@ import pyvista as pv import warp as wp from jaxtyping import Array, Float +from liblaf.apple.warp.typing import vec6 from liblaf.peach import tree from liblaf.peach.optim import PNCG, Objective @@ -13,7 +14,6 @@ from liblaf.apple import sim from liblaf.apple.warp import sim as sim_wp from liblaf.apple.warp import utils as wpu -from liblaf.apple.warp.typing import vec6 logger: logging.Logger = logging.getLogger(__name__) diff --git a/exp/2025/10/29/muscle-fiber-direction/src/10-solve.py b/exp/2025/10/29/muscle-fiber-direction/src/10-solve.py index f1a2ed47..11d24ee1 100644 --- a/exp/2025/10/29/muscle-fiber-direction/src/10-solve.py +++ b/exp/2025/10/29/muscle-fiber-direction/src/10-solve.py @@ -3,12 +3,12 @@ import pyvista as pv from jax import Array from jaxtyping import Integer +from liblaf.apple.jax.typing import Scalar, Vector from liblaf.peach import optim from liblaf.peach import tree_utils as tree from liblaf import grapes, melon from liblaf.apple.jax import sim as sim_jax -from liblaf.apple.jax.typing import Scalar, Vector @tree.define diff --git a/tests/warp/energies/elastic/hyperelastic/common.py b/tests/warp/energies/elastic/hyperelastic/common.py index 65f1da1d..c5ee72f5 100644 --- a/tests/warp/energies/elastic/hyperelastic/common.py +++ b/tests/warp/energies/elastic/hyperelastic/common.py @@ -2,15 +2,15 @@ import jax import jax.numpy as jnp +import liblaf.apple.warp.utils as wpu import numpy as np import pyvista as pv import warp as wp from jaxtyping import Array, ArrayLike, Float, Key +from liblaf.apple.warp.energies.elastic.hyperelastic import Hyperelastic -import liblaf.apple.warp.utils as wpu from liblaf.apple import Model from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import Hyperelastic type EnergyParams = Mapping[str, Array] type Full = Float[Array, "points 3"] diff --git a/tests/warp/energies/elastic/hyperelastic/func/test_gradients.py b/tests/warp/energies/elastic/hyperelastic/func/test_gradients.py index 910da93e..95dbf9e1 100644 --- a/tests/warp/energies/elastic/hyperelastic/func/test_gradients.py +++ b/tests/warp/energies/elastic/hyperelastic/func/test_gradients.py @@ -5,11 +5,11 @@ import jax.test_util import warp as wp from jaxtyping import Array, Float +from liblaf.apple.warp.energies.elastic.hyperelastic import func from liblaf.apple.jax import testing from liblaf.apple.warp import math from liblaf.apple.warp import utils as wpu -from liblaf.apple.warp.energies.elastic.hyperelastic import func class IdentityFunction(Protocol): diff --git a/tests/warp/energies/elastic/hyperelastic/func/test_hess_diag.py b/tests/warp/energies/elastic/hyperelastic/func/test_hess_diag.py index 1d9c408d..6418bec0 100644 --- a/tests/warp/energies/elastic/hyperelastic/func/test_hess_diag.py +++ b/tests/warp/energies/elastic/hyperelastic/func/test_hess_diag.py @@ -2,13 +2,13 @@ import hypothesis import jax.numpy as jnp +import liblaf.apple.warp.utils as wpu import numpy as np import warp as wp from jaxtyping import Array, DTypeLike, Float +from liblaf.apple.warp.energies.elastic.hyperelastic import func -import liblaf.apple.warp.utils as wpu from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import func def diag_from_quad( diff --git a/tests/warp/energies/elastic/hyperelastic/func/test_hess_prod.py b/tests/warp/energies/elastic/hyperelastic/func/test_hess_prod.py index 0fb14274..5c9f8d07 100644 --- a/tests/warp/energies/elastic/hyperelastic/func/test_hess_prod.py +++ b/tests/warp/energies/elastic/hyperelastic/func/test_hess_prod.py @@ -2,13 +2,13 @@ import einops import hypothesis +import liblaf.apple.warp.utils as wpu import numpy as np import warp as wp from jaxtyping import Array, Float +from liblaf.apple.warp.energies.elastic.hyperelastic import func -import liblaf.apple.warp.utils as wpu from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import func def check_prod( diff --git a/tests/warp/energies/elastic/hyperelastic/func/test_hess_quad.py b/tests/warp/energies/elastic/hyperelastic/func/test_hess_quad.py index ed516767..09dd77dc 100644 --- a/tests/warp/energies/elastic/hyperelastic/func/test_hess_quad.py +++ b/tests/warp/energies/elastic/hyperelastic/func/test_hess_quad.py @@ -2,14 +2,14 @@ from typing import Any, no_type_check import hypothesis +import liblaf.apple.warp.utils as wpu import numpy as np import warp as wp from jaxtyping import Array, Float +from liblaf.apple.warp.energies.elastic.hyperelastic import func -import liblaf.apple.warp.utils as wpu from liblaf.apple.jax import testing from liblaf.apple.warp import math -from liblaf.apple.warp.energies.elastic.hyperelastic import func type Mat33 = Float[Array, "batch 3 3"] type Mat43 = Float[Array, "batch 4 3"] diff --git a/tests/warp/energies/elastic/hyperelastic/test_arap.py b/tests/warp/energies/elastic/hyperelastic/test_arap.py index 024ed2b6..4f4ab5ea 100644 --- a/tests/warp/energies/elastic/hyperelastic/test_arap.py +++ b/tests/warp/energies/elastic/hyperelastic/test_arap.py @@ -2,11 +2,11 @@ import numpy as np import pytest import pyvista as pv +from liblaf.apple.warp.energies.elastic.hyperelastic import Arap from liblaf.apple import Model, ModelBuilder from liblaf.apple.consts import MU from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import Arap from . import common diff --git a/tests/warp/energies/elastic/hyperelastic/test_arap_muscle.py b/tests/warp/energies/elastic/hyperelastic/test_arap_muscle.py index 53a12a40..617afd77 100644 --- a/tests/warp/energies/elastic/hyperelastic/test_arap_muscle.py +++ b/tests/warp/energies/elastic/hyperelastic/test_arap_muscle.py @@ -2,11 +2,11 @@ import numpy as np import pytest import pyvista as pv +from liblaf.apple.warp.energies.elastic.hyperelastic import ArapMuscle from liblaf.apple import Model, ModelBuilder from liblaf.apple.consts import ACTIVATION, MU from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import ArapMuscle from . import common diff --git a/tests/warp/energies/elastic/hyperelastic/test_phace.py b/tests/warp/energies/elastic/hyperelastic/test_phace.py index d21c14e9..ae4e8834 100644 --- a/tests/warp/energies/elastic/hyperelastic/test_phace.py +++ b/tests/warp/energies/elastic/hyperelastic/test_phace.py @@ -2,11 +2,11 @@ import numpy as np import pytest import pyvista as pv +from liblaf.apple.warp.energies.elastic.hyperelastic import Phace from liblaf.apple import Model, ModelBuilder from liblaf.apple.consts import ACTIVATION, LAMBDA, MU, MUSCLE_FRACTION from liblaf.apple.jax import testing -from liblaf.apple.warp.energies.elastic.hyperelastic import Phace from . import common