From 2972384deeef910f666bee6aa45a84d4559ec650 Mon Sep 17 00:00:00 2001 From: Jakub Cierocki Date: Tue, 23 Jul 2024 12:19:26 +0200 Subject: [PATCH] jinja2 typo fix --- {{ cookiecutter.repo_name }}/pyproject.toml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/{{ cookiecutter.repo_name }}/pyproject.toml b/{{ cookiecutter.repo_name }}/pyproject.toml index 0eadc73..b4fc979 100644 --- a/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/{{ cookiecutter.repo_name }}/pyproject.toml @@ -134,15 +134,12 @@ max-locals = 20 min-similarity-lines = 10 [tool.bandit] - - - - -{% if cookiecutter.versioning == "Python Semantic Release" %} exclude_dirs = ["venv"] # B101 disables errors for asserts in the code # remember to not use asserts for security and control flows skips = ["B101"] + +{% if cookiecutter.versioning == "Python Semantic Release" %} [tool.semantic_release] assets = [] commit_message = "{version}\n\nAutomatically generated by python-semantic-release" @@ -208,7 +205,6 @@ ignore_token_for_push = false insecure = false [tool.semantic_release.publish] - -{% endif %} dist_glob_patterns = ["dist/*"] upload_to_vcs_release = true +{% endif %}