mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-27 03:21:01 +00:00
Fix setting for isort
This commit is contained in:
parent
7132db3433
commit
c36ab6ddab
2 changed files with 3 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue