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 67c1ec2
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 @@ -190,7 +190,7 @@
DEFAULT_PROJECT_HEADER = """# -*- coding: utf-8 -*-
import os
gettext = lambda s: s
"""
""" # isort:skip
STATICFILES_DEFAULT = """STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
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 67c1ec2

Please sign in to comment.