Skip to content

Commit

Permalink
add --profile black to isort command for black compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjkuch committed Oct 13, 2022
1 parent 4d5c5fa commit e32e31f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ requirements:
pip install -U -r dev-requirements.txt

format:
isort ccds hooks tests "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"
isort --profile black ccds hooks tests "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"
black ccds hooks tests setup.py "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"

lint:
flake8 ccds hooks tests setup.py "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"
isort --check ccds hooks tests "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"
isort --check --profile black ccds hooks tests "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"
black --check ccds hooks tests setup.py "{{ cookiecutter.repo_name }}/{{ cookiecutter.module_name }}"


Expand Down

0 comments on commit e32e31f

Please sign in to comment.