From 9130f5da7bc3f64a059b582e46205e97fc23bd8d Mon Sep 17 00:00:00 2001 From: Laurent Sorber Date: Mon, 30 Dec 2024 17:02:16 +0000 Subject: [PATCH] fix: remove safety --- .../pyproject.toml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/{{ cookiecutter.__project_name_kebab_case }}/pyproject.toml b/{{ cookiecutter.__project_name_kebab_case }}/pyproject.toml index 372a2e2..3f4d672 100644 --- a/{{ cookiecutter.__project_name_kebab_case }}/pyproject.toml +++ b/{{ cookiecutter.__project_name_kebab_case }}/pyproject.toml @@ -55,7 +55,6 @@ pytest-mock = ">=3.14.0" pytest-xdist = ">=3.5.0" ruff = ">=0.5.7" {%- if cookiecutter.development_environment == "strict" %} -safety = ">=3.1.0" shellcheck-py = ">=0.10.0.1" typeguard = ">=4.2.1" {%- endif %} @@ -233,18 +232,11 @@ convention = "{{ cookiecutter.__docstring_style|lower }}" [tool.poe.tasks.lint] help = "Lint this {{ cookiecutter.project_type }}" - - [[tool.poe.tasks.lint.sequence]] - cmd = """ - pre-commit run - --all-files - --color always - """ -{%- if cookiecutter.development_environment == "strict" %} - - [[tool.poe.tasks.lint.sequence]] - shell = "safety check --continue-on-error --full-report" -{%- endif %} + cmd = """ + pre-commit run + --all-files + --color always + """ [tool.poe.tasks.test] help = "Test this {{ cookiecutter.project_type }}"