Closed set-soft closed 3 years ago
This patch fixes all flake8 errors. The changes are big and many errors are fixed. I hope no new errors are introduced, but I can't be sure. I tested:
tests
Note that the following issues needed adjust that you should check:
idx
i
dist_part_num
field_code_last
None
name
values
x
f
winreg
_winreg
libreoffice_executable
Also note that:
This patch fixes all flake8 errors. The changes are big and many errors are fixed. I hope no new errors are introduced, but I can't be sure. I tested:
tests
for Python 2.7, 3.5, 3.7 and 3.9.Note that the following issues needed adjust that you should check:
idx
in some places. I beleive this isi
(used in most places)dist_part_num
without defining it. I copied the use from KitSpace API.field_code_last
before definition. Defined asNone
by default.name
wherevalues
seems to be the correct variable.x
. Changed byf
.winreg
, but for Python 2 it seems to be_winreg
, like kicost_gui.py and os_windows.py use.libreoffice_executable
locally, but then tried to access it as a global definition.Also note that: