From 845b8b5b399f86a301fc6d752be2f32825158bb6 Mon Sep 17 00:00:00 2001 From: Arjun Dandagi Date: Tue, 9 Apr 2024 20:58:19 +0530 Subject: [PATCH] remove-black-references-in-makefile --- {{cookiecutter.project_slug}}/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index b2cf6cda7..0dd4d25c3 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -1,5 +1,5 @@ .PHONY: clean clean-build clean-pyc clean-test coverage dist docs help install lint lint/flake8 - {%- if cookiecutter.use_black == 'y' %} lint/black{% endif %} + .DEFAULT_GOAL := help define BROWSER_PYSCRIPT @@ -51,12 +51,8 @@ clean-test: ## remove test and coverage artifacts lint/flake8: ## check style with flake8 flake8 {{ cookiecutter.project_slug }} tests -{%- if cookiecutter.use_black == 'y' %} -lint/black: ## check style with black - black --check {{ cookiecutter.project_slug }} tests -{%- endif %} -lint: lint/flake8{%- if cookiecutter.use_black == 'y' %} lint/black{%- endif %} ## check style +lint: lint/flake8 ## check style test: ## run tests quickly with the default Python {%- if cookiecutter.use_pytest == 'y' %}