Fix setting for isort

This commit is contained in:
Yuta Hayashibe 2022-09-23 20:05:33 +09:00
parent 7132db3433
commit c36ab6ddab
2 changed files with 3 additions and 2 deletions

View file

@ -8,8 +8,7 @@ flake8:
black: black:
find $(TARGET_DIRS) | grep '\.py$$' | xargs black --diff | diff /dev/null - find $(TARGET_DIRS) | grep '\.py$$' | xargs black --diff | diff /dev/null -
isort: 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: pydocstyle:
find $(TARGET_DIRS) | grep -v tests | xargs pydocstyle --ignore=D100,D101,D102,D103,D104,D105,D107,D203,D212 find $(TARGET_DIRS) | grep -v tests | xargs pydocstyle --ignore=D100,D101,D102,D103,D104,D105,D107,D203,D212

View file

@ -1,3 +1,5 @@
[flake8] [flake8]
ignore = E203,W503,W504 ignore = E203,W503,W504
max-line-length = 120 max-line-length = 120
[isort]
profile=black