deluge/setup.cfg
Calum Lind 610a1bb313 [Lint] Update pre-commit hook and isort versions
* Fixed black hook requiring Py3.6 to installed locally. Will now assume
Py3.6+ in installed.
 * Added isort traceback in pre-commit flake8 hook fails
 * Updated versions of Black, Prettier and isort
 * Keep Flake8 at 3.7.9 due to E402 issue: https://gitlab.com/pycqa/flake8/-/issues/638
 * New pyproject config for isort v5 with fixes for Python 2 imports.
 * Fixed travis config to run Python 3.6 for lint run. Replaced the
virtualenv with_system_site_packages config with Travis specific Python
config value so lint run doesn't attempt to append with_system_site_packages
to Python 3.6 command.
2021-01-24 20:40:20 +00:00

42 lines
966 B
INI

[sdist]
formats=gztar, xztar
[build_docs]
source-dir = docs/source
build-dir = docs/build
all_files = true
fresh-env = true
[spellcheck_docs]
source-dir = docs/source
build-dir = docs/build
builder = spelling
[py2app]
app = ['deluge/ui/ui_entry.py']
arch = x86_64
# arch = i386
iconfile = packaging/osx/deluge.icns
site-packages = false
includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
twisted.internet, twisted.internet.utils, twisted.protocols,
zope.interface, mako.cache, email.mime, libtorrent, gtkosx_application,
HTMLParser
frameworks = CoreFoundation, Foundation, AppKit
[flake8]
max-line-length = 120
builtins = _,_n,__request__
exclude = .git,.tox,.eggs,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