Skip to content

Commit

Permalink
Switch isort to using --profile black by default (cloudposse#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieparkes authored Jul 17, 2020
1 parent 28f41a7 commit e557015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/python/Makefile.style
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AUTOFLAKE=$(call which,autoflake)
AUTOFLAKE_OUTPUT:=reports/python.autoflake
FLAKE8_OUTPUT:=reports/python.flake8

ISORT_FLAGS:=--multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=88
ISORT_FLAGS:=--profile black
AUTOFLAKE_FLAGS:=--remove-unused-variables --remove-all-unused-imports --ignore-init-module-imports
FLAKE8_FLAGS:=--select=B,C,E,F,W,T4,B9 --ignore=E203,E231,E266,E501,W503 --output-file=$(FLAKE8_OUTPUT) --tee --exit-zero
# E203: https://github.com/psf/black/issues/315
Expand Down

0 comments on commit e557015

Please sign in to comment.