mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +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 email.utils import formatdate
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
|
from twisted.internet.task import LoopingCall
|
||||||
|
|
||||||
from deluge import component
|
from deluge import component
|
||||||
from deluge.common import utf8_encoded
|
from deluge.common import utf8_encoded
|
||||||
from twisted.internet.task import LoopingCall
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,9 @@ includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
|
||||||
frameworks = CoreFoundation, Foundation, AppKit
|
frameworks = CoreFoundation, Foundation, AppKit
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
default_section=THIRDPARTY
|
|
||||||
known_standard_library=unicodedata
|
known_standard_library=unicodedata
|
||||||
known_third_party=pygtk,gtk,gobject,gtk.gdk,pango,cairo,pangocairo,twisted,pytest,OpenSSL,pkg_resources,chardet
|
known_third_party=pygtk,gtk,gobject,gtk.gdk,pango,cairo,pangocairo,twisted,pytest,OpenSSL,pkg_resources,chardet,bbfreeze,win32verstamp
|
||||||
known_first_party=msgfmt,
|
known_first_party=msgfmt
|
||||||
order_by_type=true
|
order_by_type=true
|
||||||
line_length=120
|
line_length=120
|
||||||
not_skip=__init__.py
|
not_skip=__init__.py
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -81,7 +81,7 @@ commands = {[testenv:pydef]commands}
|
||||||
[testenv:isort]
|
[testenv:isort]
|
||||||
deps =
|
deps =
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
isort>=4.0.0
|
isort>=4.2.0
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
{[testenv]whitelist_externals}
|
{[testenv]whitelist_externals}
|
||||||
isort
|
isort
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue