From b4a505be191693afacde0fb6f533a8371cf34ce8 Mon Sep 17 00:00:00 2001 From: Nick Marnik <83248080+nick-marnik@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:58:36 -0400 Subject: [PATCH] fix: remove poetry.lock requirements --- src/ansys/templates/python/solution/hooks/post_gen_project.py | 3 --- tests/tests_templates/test_python_templates.py | 1 - 2 files changed, 4 deletions(-) diff --git a/src/ansys/templates/python/solution/hooks/post_gen_project.py b/src/ansys/templates/python/solution/hooks/post_gen_project.py index 0ea69a5c..210bccdc 100644 --- a/src/ansys/templates/python/solution/hooks/post_gen_project.py +++ b/src/ansys/templates/python/solution/hooks/post_gen_project.py @@ -61,7 +61,6 @@ "CONTRIBUTING.md", "CONTRIBUTORS.md", "LICENSE.rst", - "poetry.lock", "pyproject.toml", "README.rst", "setup_environment.py", @@ -108,8 +107,6 @@ DESIRED_STRUCTURE = DESIRED_STRUCTURE + UI_STRUCTURE elif "{{ cookiecutter.dash_ui }}" == "awc": DESIRED_STRUCTURE = DESIRED_STRUCTURE + AWC_UI_STRUCTURE -if "{{ cookiecutter.dash_ui }}" != "default": - DESIRED_STRUCTURE.remove("poetry.lock") def main(): diff --git a/tests/tests_templates/test_python_templates.py b/tests/tests_templates/test_python_templates.py index c12bb2e7..340b2496 100644 --- a/tests/tests_templates/test_python_templates.py +++ b/tests/tests_templates/test_python_templates.py @@ -359,7 +359,6 @@ "CONTRIBUTING.md", "CONTRIBUTORS.md", "LICENSE.rst", - "poetry.lock", "pyproject.toml", "README.rst", "setup_environment.py",