tools: add "tools" dir to LINTABLES and fix issues

The `./tools` dir was not part of the LINTABLES in the `tox.ini`
which meant that pep8/pylint etc checks were not run on the tools
there.

This commit adds it and fixes the issues that `make lint` found.
This commit is contained in:
Michael Vogt 2023-11-10 17:52:20 +01:00 committed by Simon de Vlieger
parent 9f4bd1fc31
commit d52738d70c
4 changed files with 17 additions and 14 deletions

View file

@ -23,7 +23,7 @@ deps =
requests
setenv =
LINTABLES = osbuild/ assemblers/* devices/* inputs/* mounts/* runners/* sources/* stages/*.* stages/test/*.py
LINTABLES = osbuild/ assemblers/* devices/* inputs/* mounts/* runners/* sources/* stages/*.* stages/test/*.py tools/
TYPEABLES = osbuild
passenv =