Fix config for isort 4.2

This commit is contained in:
Calum Lind 2015-10-21 00:34:49 +01:00
parent 32bc20d8ce
commit ebc00f3d7c
3 changed files with 5 additions and 5 deletions

View File

@ -15,9 +15,10 @@ from datetime import datetime, timedelta
from email.utils import formatdate
from functools import reduce
from twisted.internet.task import LoopingCall
from deluge import component
from deluge.common import utf8_encoded
from twisted.internet.task import LoopingCall
log = logging.getLogger(__name__)

View File

@ -15,10 +15,9 @@ includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
frameworks = CoreFoundation, Foundation, AppKit
[isort]
default_section=THIRDPARTY
known_standard_library=unicodedata
known_third_party=pygtk,gtk,gobject,gtk.gdk,pango,cairo,pangocairo,twisted,pytest,OpenSSL,pkg_resources,chardet
known_first_party=msgfmt,
known_third_party=pygtk,gtk,gobject,gtk.gdk,pango,cairo,pangocairo,twisted,pytest,OpenSSL,pkg_resources,chardet,bbfreeze,win32verstamp
known_first_party=msgfmt
order_by_type=true
line_length=120
not_skip=__init__.py

View File

@ -81,7 +81,7 @@ commands = {[testenv:pydef]commands}
[testenv:isort]
deps =
{[testenv]deps}
isort>=4.0.0
isort>=4.2.0
whitelist_externals =
{[testenv]whitelist_externals}
isort