Skip to content

Commit

Permalink
Merge pull request #739 from audreyfeldroy/remove-black-references-in…
Browse files Browse the repository at this point in the history
…-makefile

remove-black-references-in-makefile
  • Loading branch information
ArjunDandagi authored Apr 9, 2024
2 parents 47f3d4d + 845b8b5 commit 301ecea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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' %}
Expand Down

0 comments on commit 301ecea

Please sign in to comment.