Skip to content

Commit

Permalink
Fix isort behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Feb 1, 2018
1 parent 320d710 commit 5ab6023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djangocms_installer/config/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
}

DEFAULT_PROJECT_HEADER = """# -*- coding: utf-8 -*-
import os
import os # isort:skip
gettext = lambda s: s
"""
STATICFILES_DEFAULT = """STATICFILES_DIRS = (
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ commands = flake8
skip_install = true

[testenv:isort]
deps = isort<4.3
deps = isort
basepython = python3.6
commands = isort -c -rc -df djangocms_installer
skip_install = true

Expand Down

0 comments on commit 5ab6023

Please sign in to comment.