1
0
Fork 0

tox: Move 'isort' skip lists to 'setup.cfg'

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/381/head
Vasilis Tsiligiannis 2019-05-09 18:05:27 +03:00
parent cb2c4899a9
commit 45abdcd33a
3 changed files with 4 additions and 11 deletions

View File

@ -2,7 +2,6 @@
import os
import sys
if __name__ == "__main__":
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'db.settings')
from django.core.management import execute_from_command_line

View File

@ -90,8 +90,8 @@ dedent_closing_brackets = True
[tool:isort]
use_parentheses = True
skip_glob = migrations
skip = _version.py
skip_glob = migrations,docs,build,.tox
skip = _version.py,versioneer.py
line_width = 99
multi_line_output = 2

10
tox.ini
View File

@ -11,19 +11,13 @@ commands = flake8
deps =
isort==4.3.17
skip_install = True
commands = isort -rc -c -df \
setup.py \
db \
auth0login
commands = isort -rc -c -df
[testenv:py3-isort]
deps =
isort==4.3.17
skip_install = True
commands = isort -rc -c -df \
setup.py \
db \
auth0login
commands = isort -rc -c -df
[testenv:py2-yapf]
deps =