tox: Move 'isort' skip lists to 'setup.cfg'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/381/head
parent
cb2c4899a9
commit
45abdcd33a
|
@ -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
|
||||
|
|
|
@ -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
10
tox.ini
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue