2009-07-22 23:04:48 +00:00
|
|
|
[build_docs]
|
2009-07-20 09:00:47 +00:00
|
|
|
source-dir = docs/source
|
|
|
|
build-dir = docs/build
|
2018-07-28 07:14:25 +00:00
|
|
|
all_files = true
|
|
|
|
fresh-env = true
|
2013-02-14 00:29:14 +00:00
|
|
|
|
|
|
|
[py2app]
|
2017-06-26 22:02:36 +00:00
|
|
|
app = ['deluge/ui/ui_entry.py']
|
2017-06-07 10:22:07 +00:00
|
|
|
arch = x86_64
|
|
|
|
# arch = i386
|
2017-06-26 22:02:36 +00:00
|
|
|
iconfile = packaging/osx/deluge.icns
|
2013-02-14 00:29:14 +00:00
|
|
|
site-packages = false
|
2013-03-17 18:10:51 +00:00
|
|
|
includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
|
|
|
|
twisted.internet, twisted.internet.utils, twisted.protocols,
|
2017-06-26 22:02:36 +00:00
|
|
|
zope.interface, mako.cache, email.mime, libtorrent, gtkosx_application,
|
|
|
|
HTMLParser
|
2013-03-17 18:10:51 +00:00
|
|
|
frameworks = CoreFoundation, Foundation, AppKit
|
2013-05-22 22:33:06 +00:00
|
|
|
|
2014-09-19 14:43:21 +00:00
|
|
|
[isort]
|
2016-10-31 11:51:12 +00:00
|
|
|
known_standard_library = future_builtins
|
2016-11-25 11:46:36 +00:00
|
|
|
known_third_party =
|
|
|
|
# Ignore Windows specific modules.
|
|
|
|
bbfreeze, win32verstamp,
|
|
|
|
# Ignore gtk modules, primarily for tox testing.
|
2017-03-05 09:29:51 +00:00
|
|
|
pygtk, gtk, gobject, gtk.gdk, pango, cairo, pangocairo
|
2016-10-31 11:51:12 +00:00
|
|
|
known_first_party = msgfmt, deluge
|
2016-05-13 13:00:10 +00:00
|
|
|
order_by_type = true
|
|
|
|
not_skip = __init__.py
|
2018-10-02 14:39:51 +00:00
|
|
|
# Black compatible settings
|
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=True
|
|
|
|
force_grid_wrap=0
|
|
|
|
line_length=88
|
|
|
|
use_parentheses=True
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 120
|
|
|
|
builtins = _,_n,__request__
|
|
|
|
exclude = .git,.tox,dist,build
|
|
|
|
ignore =
|
|
|
|
# A003 Class attribute is a python builtin.
|
|
|
|
A003,
|
|
|
|
# C813, C815, C816: PY3 missing trailing commas.
|
|
|
|
C813,C815,C816,
|
|
|
|
# W503 line break before binary operator.
|
|
|
|
W503,
|
|
|
|
E203
|
|
|
|
|
|
|
|
[pycodestyle]
|
|
|
|
max-line-length = 88
|