Skip to content

Commit

Permalink
add --profile black to generated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjkuch committed Oct 13, 2022
1 parent f1fcf8c commit 904b2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{ cookiecutter.repo_name }}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ clean: ## Delete all compiled Python files
lint: ## Lint using flake8 and black (use `make format` to do formatting)
flake8 {{ cookiecutter.module_name }}
black --check --config pyproject.toml {{ cookiecutter.module_name }}
isort --check {{ cookiecutter.module_name }}
isort --check --profile black {{ cookiecutter.module_name }}

format: ## Format source code with black and isort
isort {{ cookiecutter.module_name }}
isort --profile black {{ cookiecutter.module_name }}
black --config pyproject.toml {{ cookiecutter.module_name }}

{% if not cookiecutter.dataset_storage.none %}
Expand Down

0 comments on commit 904b2a8

Please sign in to comment.