diff --git a/pyproject.toml b/pyproject.toml index a259d2f508618..8611ef9323deb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,9 +30,12 @@ files = [ "src/lightning_lite", "src/lightning_app", ] +# This section is for folders with "-" as they are not valid python modules exclude = [ + "src/lightning_app/cli/app-template", "src/lightning_app/cli/component-template", - "src/lightning_app/cli/*-template", + "src/lightning_app/cli/pl-app-template", + "src/lightning_app/cli/react-ui-template", ] install_types = "True" non_interactive = "True"