Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at more modern linters #7468

Open
The-Compiler opened this issue Nov 8, 2022 · 2 comments
Open

Look at more modern linters #7468

The-Compiler opened this issue Nov 8, 2022 · 2 comments
Labels
component: infrastructure Issues related to development scripts, CI, servers, etc. priority: 2 - low Issues which are currently not very important.

Comments

@The-Compiler
Copy link
Member

dosisod/refurb: A tool for refurbishing and modernizing Python codebases seems to have some nice suggestions built in. We currently have bigger things to take care of, but maybe at some point we could introduce it to our toolchain.

A quick trial run over qt6-v2:

qutebrowser/app.py:172:19 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/app.py:183:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/app.py:560:9 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
qutebrowser/browser/browsertab.py:320:16 [FURB124]: Use `x == y == z` instead of `x == y and x == z`
qutebrowser/browser/browsertab.py:454:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/browsertab.py:479:25 [FURB123]: Replace `float(x)` with `x`
qutebrowser/browser/commands.py:158:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/commands.py:652:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/commands.py:656:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/commands.py:706:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/commands.py:758:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/commands.py:1061:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/commands.py:1743:17 [FURB101]: Use `y = Path(x).read_text(...)` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/browser/downloads.py:399:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/downloads.py:409:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/downloads.py:488:35 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/downloads.py:504:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/downloads.py:550:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/downloads.py:561:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/downloads.py:840:12 [FURB124]: Use `x == y == z` instead of `x == y and x == z`
qutebrowser/browser/downloads.py:1053:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/downloads.py:1275:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/downloadview.py:144:17 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/browser/downloadview.py:157:13 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/browser/eventfilter.py:103:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/eventfilter.py:230:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/eventfilter.py:234:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/eventfilter.py:240:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/greasemonkey.py:83:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/greasemonkey.py:514:9 [FURB107]: Replace `try: ... except FileExistsError: pass` with `with suppress(FileExistsError): ...`
qutebrowser/browser/hints.py:122:44 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/hints.py:233:30 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/hints.py:468:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/hints.py:592:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/navigate.py:159:32 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/network/pac.py:117:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/network/pac.py:159:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/network/proxy.py:73:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/pdfjs.py:229:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/qtnetworkdownloads.py:478:13 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
qutebrowser/browser/qutescheme.py:205:33 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/qutescheme.py:259:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/qutescheme.py:538:9 [FURB101]: Use `y = Path(x).read_bytes()` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/browser/shared.py:124:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/shared.py:399:62 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:175:59 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/webelem.py:205:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webelem.py:218:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:268:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:276:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:284:58 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:302:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:401:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webelem.py:441:30 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webengine/certificateerror.py:47:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webengine/certificateerror.py:53:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webengine/cookies.py:49:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webengine/notification.py:901:37 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/webengine/notification.py:929:31 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/webengine/webenginedownloads.py:120:29 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/webengine/webengineelem.py:259:13 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/browser/webengine/webenginesettings.py:502:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webengine/webenginetab.py:977:13 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/browser/webengine/webenginetab.py:1039:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webengine/webenginetab.py:1354:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webkit/mhtml.py:56:45 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/mhtml.py:300:32 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/browser/webkit/network/networkmanager.py:87:43 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/network/networkmanager.py:90:39 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/network/networkmanager.py:101:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webkit/network/networkmanager.py:242:9 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
qutebrowser/browser/webkit/network/networkmanager.py:313:9 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/browser/webkit/network/networkmanager.py:429:13 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/browser/webkit/network/networkreply.py:62:30 [FURB111]: Use `f` instead of `lambda x: f(x)`
qutebrowser/browser/webkit/network/networkreply.py:63:30 [FURB111]: Use `f` instead of `lambda x: f(x)`
qutebrowser/browser/webkit/network/networkreply.py:64:30 [FURB111]: Use `f` instead of `lambda x: f(x)`
qutebrowser/browser/webkit/network/networkreply.py:120:30 [FURB111]: Use `f` instead of `lambda x: f(x)`
qutebrowser/browser/webkit/network/networkreply.py:131:16 [FURB112]: Use `b""` instead of `bytes()`
qutebrowser/browser/webkit/network/networkreply.py:147:30 [FURB111]: Use `f` instead of `lambda x: f(x)`
qutebrowser/browser/webkit/network/networkreply.py:153:16 [FURB112]: Use `b""` instead of `bytes()`
qutebrowser/browser/webkit/tabhistory.py:58:5 [FURB107]: Replace `try: ... except (KeyError, TypeError): pass` with `with suppress(KeyError, TypeError): ...`
qutebrowser/browser/webkit/webkitsettings.py:165:18 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/webkittab.py:154:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/webkittab.py:594:12 [FURB124]: Use `x == y == z` instead of `x == y and x == z`
qutebrowser/browser/webkit/webkittab.py:605:37 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/browser/webkit/webkittab.py:916:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webkit/webpage.py:208:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/browser/webkit/webpage.py:399:13 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/browser/webkit/webview.py:98:9 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/commands/command.py:264:9 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/commands/command.py:317:13 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/commands/command.py:336:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/commands/command.py:345:35 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/commands/command.py:348:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/commands/runners.py:174:9 [FURB127]: This variable is redeclared later, and can be removed here
qutebrowser/commands/runners.py:193:37 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/completion/completer.py:137:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/completion/completionwidget.py:163:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/completion/models/completionmodel.py:107:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/completion/models/completionmodel.py:152:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/completion/models/listcategory.py:112:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/components/hostblock.py:143:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/components/readlinecommands.py:51:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/components/scrollcommands.py:77:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/config.py:98:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/config/configfiles.py:97:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:200:40 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:202:36 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:501:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:510:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:895:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configfiles.py:976:9 [FURB101]: Use `y = Path(x).read_bytes()` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/config/configfiles.py:1062:16 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/configinit.py:128:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/config/configtypes.py:948:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/config/configtypes.py:1101:9 [FURB107]: Replace `try: ... except ValueError: pass` with `with suppress(ValueError): ...`
qutebrowser/config/configtypes.py:1351:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/config/configtypes.py:1683:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/config/configtypes.py:2030:29 [FURB102]: Replace `x.startswith(y) or x.startswith(z)` with `x.startswith((y, z))`
qutebrowser/config/configutils.py:207:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/config/qtargs.py:281:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/config/websettings.py:250:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/keyinput/basekeyparser.py:147:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/keyinput/keyutils.py:185:39 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/keyinput/keyutils.py:333:16 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/keyinput/keyutils.py:496:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/keyinput/keyutils.py:605:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/keyinput/modeman.py:294:49 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/keyinput/modeman.py:406:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/mainwindow.py:680:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/mainwindow.py:681:13 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/mainwindow/messageview.py:176:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/prompt.py:147:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/prompt.py:220:24 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/mainwindow/prompt.py:373:24 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/mainwindow/prompt.py:428:9 [FURB107]: Replace `try: ... except UnsupportedOperationError: pass` with `with suppress(UnsupportedOperationError): ...`
qutebrowser/mainwindow/prompt.py:443:9 [FURB107]: Replace `try: ... except UnsupportedOperationError: pass` with `with suppress(UnsupportedOperationError): ...`
qutebrowser/mainwindow/prompt.py:779:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/prompt.py:916:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/prompt.py:982:45 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/prompt.py:986:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/mainwindow/statusbar/bar.py:286:23 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/statusbar/bar.py:348:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/statusbar/bar.py:398:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/statusbar/bar.py:417:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/statusbar/command.py:93:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/statusbar/command.py:103:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/statusbar/url.py:104:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/statusbar/url.py:131:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabbedbrowser.py:277:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabbedbrowser.py:535:45 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabbedbrowser.py:675:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:86:39 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:463:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:489:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:804:23 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:854:27 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:901:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:908:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/tabwidget.py:927:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/mainwindow/tabwidget.py:938:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/mainwindow/tabwidget.py:1009:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/backendproblem.py:193:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/crashdialog.py:308:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/misc/crashdialog.py:500:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/crashdialog.py:504:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/misc/crashsignal.py:95:17 [FURB101]: Use `y = Path(x).read_text(...)` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/misc/crashsignal.py:358:23 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/earlyinit.py:177:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/misc/earlyinit.py:249:19 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/earlyinit.py:278:5 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
qutebrowser/misc/earlyinit.py:314:5 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
qutebrowser/misc/editor.py:170:13 [FURB101]: Use `y = Path(x).read_text(...)` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/misc/guiprocess.py:132:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/misc/ipc.py:279:34 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/misc/ipc.py:329:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/ipc.py:451:13 [FURB107]: Replace `try: ... except TypeError: pass` with `with suppress(TypeError): ...`
qutebrowser/misc/ipc.py:487:19 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
qutebrowser/misc/ipc.py:504:34 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/misc/miscwidgets.py:141:13 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/misc/miscwidgets.py:382:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/miscwidgets.py:390:44 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/miscwidgets.py:424:36 [FURB123]: Replace `int(x)` with `x`
qutebrowser/misc/sessions.py:673:5 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/misc/sql.py:185:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/misc/throttle.py:87:13 [FURB107]: Replace `try: ... except TypeError: pass` with `with suppress(TypeError): ...`
qutebrowser/misc/utilcmds.py:164:13 [FURB101]: Use `y = Path(x).read_text(...)` instead of `with open(x, ...) as f: y = f.read()`
qutebrowser/qt/sip.py:15:5 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
qutebrowser/qt/sip.py:21:5 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
qutebrowser/utils/debug.py:80:21 [FURB107]: Replace `try: ... except TypeError: pass` with `with suppress(TypeError): ...`
qutebrowser/utils/debug.py:115:9 [FURB107]: Replace `try: ... except ValueError: pass` with `with suppress(ValueError): ...`
qutebrowser/utils/debug.py:133:5 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
qutebrowser/utils/log.py:740:26 [FURB123]: Replace `dict(x)` with `x.copy()`
qutebrowser/utils/log.py:787:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/log.py:808:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/objreg.py:111:13 [FURB107]: Replace `try: ... except RuntimeError: pass` with `with suppress(RuntimeError): ...`
qutebrowser/utils/objreg.py:137:9 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/utils/objreg.py:217:44 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
qutebrowser/utils/objreg.py:314:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/utils/qtutils.py:159:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/qtutils.py:427:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/resources.py:103:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/standarddir.py:163:9 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
qutebrowser/utils/standarddir.py:265:19 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/urlutils.py:302:35 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/urlutils.py:426:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/urlutils.py:471:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/urlutils.py:591:18 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/utils.py:185:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:217:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:247:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/utils/utils.py:398:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:426:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:658:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:708:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/utils.py:773:22 [FURB110]: Use `x or y` instead of `x if x else y`
qutebrowser/utils/utils.py:775:22 [FURB110]: Use `x or y` instead of `x if x else y`
qutebrowser/utils/utils.py:777:20 [FURB110]: Use `x or y` instead of `x if x else y`
qutebrowser/utils/version.py:153:18 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/version.py:475:38 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
qutebrowser/utils/version.py:848:9 [FURB126]: Replace `else: return x` with `return x`
qutebrowser/utils/version.py:860:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
qutebrowser/utils/version.py:882:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/asciidoc2html.py:119:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/asciidoc2html.py:198:34 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/asciidoc2html.py:211:13 [FURB107]: Replace `try: ... except FileNotFoundError: pass` with `with suppress(FileNotFoundError): ...`
scripts/asciidoc2html.py:217:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/asciidoc2html.py:222:13 [FURB107]: Replace `try: ... except FileExistsError: pass` with `with suppress(FileExistsError): ...`
scripts/asciidoc2html.py:234:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/build_release.py:38:1 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
scripts/dev/build_release.py:116:5 [FURB107]: Replace `try: ... except FileNotFoundError: pass` with `with suppress(FileNotFoundError): ...`
scripts/dev/build_release.py:344:14 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/build_release.py:345:9 [FURB107]: Replace `try: ... except FileNotFoundError: pass` with `with suppress(FileNotFoundError): ...`
scripts/dev/build_release.py:349:14 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/check_coverage.py:386:9 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/cleanup.py:62:40 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
scripts/dev/get_coredumpctl_traces.py:144:19 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/misc_checks.py:391:26 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
scripts/dev/misc_checks.py:395:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/pylint_checkers/qute_pylint/config.py:62:33 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/recompile_requirements.py:57:5 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
scripts/dev/recompile_requirements.py:62:5 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
scripts/dev/recompile_requirements.py:67:5 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
scripts/dev/recompile_requirements.py:214:13 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/recompile_requirements.py:223:13 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/recompile_requirements.py:358:9 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/run_profile.py:64:36 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
scripts/dev/run_vulture.py:94:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:97:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:100:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:102:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:110:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:115:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:144:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/run_vulture.py:146:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/dev/src2asciidoc.py:98:17 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/src2asciidoc.py:153:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:166:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:183:22 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
scripts/dev/src2asciidoc.py:194:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:216:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:221:9 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:228:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
scripts/dev/src2asciidoc.py:331:9 [FURB126]: Replace `else: return x` with `return x`
scripts/dev/src2asciidoc.py:347:9 [FURB126]: Replace `else: return x` with `return x`
scripts/dictcli.py:139:9 [FURB126]: Replace `else: return x` with `return x`
scripts/dictcli.py:181:5 [FURB103]: Use `y = Path(x).write_bytes(y)` instead of `with open(x, ...) as f: f.write(y)`
scripts/link_pyqt.py:92:9 [FURB126]: Replace `else: return x` with `return x`
scripts/link_pyqt.py:137:23 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
scripts/link_pyqt.py:152:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
scripts/mkvenv.py:165:54 [FURB123]: Replace `str(x)` with `x`
scripts/mkvenv.py:178:24 [FURB123]: Replace `str(x)` with `x`
scripts/mkvenv.py:525:35 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
scripts/mkvenv.py:528:62 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
scripts/utils.py:94:11 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
tests/conftest.py:179:39 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/conftest.py:47:9 [FURB107]: Replace `try: ... except FileNotFoundError: pass` with `with suppress(FileNotFoundError): ...`
tests/end2end/data/brave-adblock/generate.py:43:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/data/userscripts/stdinclose.py:26:1 [FURB103]: Use `y = Path(x).write_bytes(y)` instead of `with open(x, ...) as f: f.write(y)`
tests/end2end/features/conftest.py:54:9 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/features/conftest.py:61:25 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
tests/end2end/features/conftest.py:97:5 [FURB113]: Use `x.extend(...)` instead of repeatedly calling `x.append()`
tests/end2end/features/conftest.py:421:5 [FURB107]: Replace `try: ... except FileExistsError: pass` with `with suppress(FileExistsError): ...`
tests/end2end/features/test_downloads_bdd.py:40:5 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
tests/end2end/features/test_javascript_bdd.py:54:5 [FURB107]: Replace `try: ... except FileExistsError: pass` with `with suppress(FileExistsError): ...`
tests/end2end/features/test_sessions_bdd.py:50:5 [FURB101]: Use `y = Path(x).read_text(...)` instead of `with open(x, ...) as f: y = f.read()`
tests/end2end/fixtures/quteprocess.py:335:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/fixtures/quteprocess.py:364:14 [FURB124]: Use `x == y == z` instead of `x == y and x == z`
tests/end2end/fixtures/quteprocess.py:537:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/fixtures/quteprocess.py:554:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/fixtures/quteprocess.py:583:29 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/fixtures/testprocess.py:95:25 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
tests/end2end/fixtures/testprocess.py:213:20 [FURB123]: Replace `bytes(x)` with `x`
tests/end2end/fixtures/testprocess.py:354:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/fixtures/testprocess.py:494:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/fixtures/webserver.py:90:23 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/fixtures/webserver.py:126:13 [FURB126]: Replace `else: return x` with `return x`
tests/end2end/test_adblock_e2e.py:40:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_adblock_e2e.py:56:18 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_dirbrowser.py:155:29 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_invocations.py:452:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_invocations.py:497:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_invocations.py:499:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/end2end/test_invocations.py:728:16 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/helpers/fixtures.py:177:5 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
tests/helpers/fixtures.py:193:9 [FURB101]: Use `y = Path(x).read_bytes()` instead of `with open(x, ...) as f: y = f.read()`
tests/helpers/fixtures.py:437:5 [FURB107]: Replace `try: ... except AttributeError: pass` with `with suppress(AttributeError): ...`
tests/helpers/fixtures.py:522:13 [FURB126]: Replace `else: return x` with `return x`
tests/helpers/stubs.py:740:13 [FURB126]: Replace `else: return x` with `return x`
tests/helpers/stubs.py:748:13 [FURB126]: Replace `else: return x` with `return x`
tests/helpers/testutils.py:305:9 [FURB126]: Replace `else: return x` with `return x`
tests/unit/browser/test_history.py:306:9 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
tests/unit/browser/test_inspector.py:90:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/test_inspector.py:99:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/test_pdfjs.py:100:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/webengine/test_spell.py:65:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/webengine/test_spell.py:76:22 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/webengine/test_webenginesettings.py:150:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/webengine/test_webenginesettings.py:159:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/browser/webkit/network/test_filescheme.py:162:43 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
tests/unit/browser/webkit/network/test_filescheme.py:172:60 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
tests/unit/browser/webkit/network/test_filescheme.py:176:43 [FURB104]: Use `Path.cwd()` instead of `os.getcwd()`
tests/unit/completion/test_completionwidget.py:258:28 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/completion/test_completionwidget.py:266:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/completion/test_models.py:35:1 [FURB107]: Replace `try: ... except ImportError: pass` with `with suppress(ImportError): ...`
tests/unit/completion/test_models.py:1361:27 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/components/test_braveadblock.py:146:32 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/components/test_braveadblock.py:368:12 [FURB115]: Replace `len(x) == 0` with `not x`
tests/unit/config/test_configdata.py:57:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configfiles.py:877:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configinit.py:43:5 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
tests/unit/config/test_configinit.py:168:32 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:86:13 [FURB126]: Replace `else: return x` with `return x`
tests/unit/config/test_configtypes.py:95:31 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/config/test_configtypes.py:192:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:237:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:244:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:252:70 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:318:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/config/test_configtypes.py:657:24 [FURB110]: Use `x or y` instead of `x if x else y`
tests/unit/config/test_configtypes.py:809:24 [FURB110]: Use `x or y` instead of `x if x else y`
tests/unit/config/test_configtypes.py:1640:20 [FURB110]: Use `x or y` instead of `x if x else y`
tests/unit/config/test_qtargs.py:108:20 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/javascript/test_js_execution.py:71:21 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/keyinput/conftest.py:49:41 [FURB123]: Replace `dict(x)` with `x.copy()`
tests/unit/keyinput/conftest.py:50:45 [FURB123]: Replace `dict(x)` with `x.copy()`
tests/unit/keyinput/test_basekeyparser.py:251:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/keyinput/test_basekeyparser.py:325:31 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/keyinput/test_keyutils.py:76:34 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
tests/unit/mainwindow/test_prompt.py:74:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/mainwindow/test_prompt.py:108:26 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/misc/test_elf.py:137:5 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/misc/test_guiprocess.py:515:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/misc/test_miscwidgets.py:290:24 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/misc/test_objects.py:29:36 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/misc/test_sessions.py:54:9 [FURB107]: Replace `try: ... except KeyError: pass` with `with suppress(KeyError): ...`
tests/unit/misc/test_sql.py:472:9 [FURB107]: Replace `try: ... except Exception: pass` with `with suppress(Exception): ...`
tests/unit/scripts/test_dictcli.py:87:14 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/scripts/test_dictcli.py:158:14 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_qtutils.py:519:9 [FURB107]: Replace `try: ... except FileNotFoundError: pass` with `with suppress(FileNotFoundError): ...`
tests/unit/utils/test_resources.py:40:25 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_standarddir.py:48:14 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_standarddir.py:144:29 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_standarddir.py:473:17 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_urlmatch.py:687:5 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_urlmatch.py:694:27 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_urlmatch.py:698:27 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_urlmatch.py:703:27 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_urlutils.py:118:35 [FURB111]: Use `f` instead of `lambda x: f(x)`
tests/unit/utils/test_utils.py:943:5 [FURB107]: Replace `try: ... except ValueError: pass` with `with suppress(ValueError): ...`
tests/unit/utils/test_version.py:547:13 [FURB126]: Replace `else: return x` with `return x`
tests/unit/utils/test_version.py:678:45 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_version.py:906:38 [FURB109]: Replace `not in [x, y, z]` with `not in (x, y, z)`
tests/unit/utils/test_version.py:990:40 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
tests/unit/utils/test_version.py:1092:35 [FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`

Though I suppose some of those will be disabled (also see dosisod/refurb#100 regarding FURB109).

@The-Compiler The-Compiler added component: infrastructure Issues related to development scripts, CI, servers, etc. priority: 2 - low Issues which are currently not very important. labels Nov 8, 2022
@The-Compiler The-Compiler changed the title Look at refurb linter Look at more modern linters Dec 2, 2022
@The-Compiler
Copy link
Member Author

Another new kid on the block: charliermarsh/ruff: An extremely fast Python linter, written in Rust.. It's indeed crazy fast, takes <0.1s for a run over qutebrowser/ scripts/.

@raj-magesh
Copy link

Ruff is working on autoformatting now too, so even blackening the code will become much faster!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: infrastructure Issues related to development scripts, CI, servers, etc. priority: 2 - low Issues which are currently not very important.
Projects
None yet
Development

No branches or pull requests

2 participants