archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.34k stars 542 forks source link

Enable the expression-not-assigned Pylint rule #2809

Closed correctmost closed 1 week ago

correctmost commented 1 week ago

PR Description:

Commit 88b91ae201e0 fixed the last instance that existed in the codebase:

archinstall/lib/interactions/general_conf.py:178:4: W0106: Expression "fwrite.write(f'ParallelDownloads = {input_number}\n') if not input_number == 0 else fwrite.write('#ParallelDownloads = 0\n')" is assigned to nothing (expression-not-assigned)

Docs

Tests and Checks