mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
Fix config for isort 4.2
This commit is contained in:
parent
32bc20d8ce
commit
ebc00f3d7c
3 changed files with 5 additions and 5 deletions
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue