From afcc14d0826d3159118c6e86db5471ac132ea135 Mon Sep 17 00:00:00 2001 From: Lev Gorodetskiy Date: Tue, 14 Jan 2025 11:45:28 -0300 Subject: [PATCH] fix pyproject.toml template --- src/dipdup/projects/base/pyproject.toml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dipdup/projects/base/pyproject.toml.j2 b/src/dipdup/projects/base/pyproject.toml.j2 index b48d8ea47..cd8e15342 100644 --- a/src/dipdup/projects/base/pyproject.toml.j2 +++ b/src/dipdup/projects/base/pyproject.toml.j2 @@ -1,5 +1,5 @@ {{ header }} -{%- if project.package_manager in ('pdm', 'uv', 'none') %} +{%- if project.package_manager != 'poetry' %} [project] name = "{{ project.package }}" version = "{{ project.version }}" @@ -20,7 +20,7 @@ dev = [ "ruff", "mypy", ] -{% elif project.package_manager == 'poetry' %} +{% else %} [tool.poetry] name = "{{ project.package }}" version = "{{ project.version }}"