diff --git a/Makefile b/Makefile index d6fb3c4..3ecece8 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,7 @@ flake8: black: find $(TARGET_DIRS) | grep '\.py$$' | xargs black --diff | diff /dev/null - isort: - #Temporary - #find $(TARGET_DIRS) | grep '\.py$$' | xargs isort --diff | diff /dev/null - + find $(TARGET_DIRS) | grep '\.py$$' | xargs isort --diff | diff /dev/null - pydocstyle: find $(TARGET_DIRS) | grep -v tests | xargs pydocstyle --ignore=D100,D101,D102,D103,D104,D105,D107,D203,D212 diff --git a/setup.cfg b/setup.cfg index 351f753..540426c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,5 @@ [flake8] ignore = E203,W503,W504 max-line-length = 120 +[isort] +profile=black