FreeCAD: master e2bb84fd

Author Committer Branch Timestamp Parent
chennes wwmayer master 2021-02-26 04:48:01 master bcb070de
Changeset [Tools] Fix static analyis issues

This commit addresses issues identified by LGTM for the various
independent (and mostly-independent) files in the Tools subdirectory.
The vast majority of the issues are trivial, and are things like unused
imports or catching BaseException. There was one true bug identified, a
global variable being changed in a function where it was not marked
global, but it only affected output quantity (the variable is named
"VERBOSE"). A couple of other issues identified variables that appear to
represent no-longer-existing options in the code. The options were left,
but a deprecation printout replaces the variable in the event the option
is provided.
mod - src/Tools/ArchiveNameFromVersionHeader.py Diff File
mod - src/Tools/DistTools.py Diff File
mod - src/Tools/FCFileTools.py Diff File
mod - src/Tools/LicenseChecker.py Diff File
mod - src/Tools/MakeApp.py Diff File
mod - src/Tools/MakeAppTools.py Diff File
mod - src/Tools/MakeMacBundleRelocatable.py Diff File
mod - src/Tools/MemoryLeaks.py Diff File
mod - src/Tools/PythonToCPP.py Diff File
mod - src/Tools/SubWCRev.py Diff File
mod - src/Tools/WinVersion.py Diff File
mod - src/Tools/catfiles.py Diff File
mod - src/Tools/dir2qrc.py Diff File
mod - src/Tools/doctools.py Diff File
mod - src/Tools/fcbt.py Diff File
mod - src/Tools/freecad-thumbnailer Diff File
mod - src/Tools/generate.py Diff File
mod - src/Tools/makedist.py Diff File
mod - src/Tools/pythondoc.py Diff File
mod - src/Tools/updatecrowdin.py Diff File
mod - src/Tools/updateppa.py Diff File
mod - src/Tools/wiki2qhelp.py Diff File