gdsfactory / kfactory

gdsfactory with a klayout backend
https://gdsfactory.github.io/kfactory/
MIT License
34 stars 13 forks source link

fix errors for `kf run` not finding modules. Change syntax #462

Closed sebastian-goeldi closed 2 months ago

sebastian-goeldi commented 2 months ago

This should make it easier for the new kf build modul.submodule::function to find stuff and not unnecessarily shadow too much with builtins packages

syntax:

kf build path/to/file.py kf build module.submodul kf build path/to/file.py::function_name [arg1 arg1_value ...] kf build module.submodul::function_name [arg arg_value ...]

sourcery-ai[bot] commented 2 months ago

🧙 Sourcery has finished reviewing your pull request!


Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.