diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2024-02-19 18:52:47 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2024-09-08 18:46:40 +0200 |
commit | 90c5e75373b9bcba1730ea8f8dcb39b3236748d3 (patch) | |
tree | 8e7cdcbf3f60616f2fddd4425056642e4f3b1f2d /setup.cfg | |
parent | [Console] Block interactive-mode on Windows even with windows-curses (diff) | |
download | deluge-90c5e75373b9bcba1730ea8f8dcb39b3236748d3.tar.xz deluge-90c5e75373b9bcba1730ea8f8dcb39b3236748d3.zip |
[Lint] Replace black/flake8/isort with ruff
Use ruff as a single performant tool to lint and format Python code.
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -23,23 +23,3 @@ includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms, zope.interface, mako.cache, email.mime, libtorrent, gtkosx_application, HTMLParser frameworks = CoreFoundation, Foundation, AppKit - -[flake8] -max-line-length = 120 -builtins = _,_n,__request__ -extend-exclude = dist,build -extend-ignore = -# flake8-builtins: A003 class attribute is shadowing a python builtin - A003, -# E203 whitespace before ':' - E203, -# N818 pep8-naming: error suffix in exception names - N818 -per-file-ignores = -# import not top of file (gi checks required before import) - deluge/ui/gtk3/*.py : E402 - deluge/**/gtkui.py: E402 - deluge/**/gtkui/*.py: E402 - deluge/plugins/Stats/deluge_stats/graph.py: E402 -[pycodestyle] -max-line-length = 88 |