Add more CI checks (#1150)

* Enable mypy.

* Add flake8.

* Add pylint with a long list of ignores to be removed.
This commit is contained in:
Felix Fontein
2025-10-07 19:37:16 +02:00
committed by GitHub
parent 449b37e1c9
commit acf18f0ade
13 changed files with 705 additions and 19 deletions
@@ -706,7 +706,7 @@ def _preprocess_mounts(module, values):
if mount_dict["tmpfs_mode"] is not None:
try:
mount_dict["tmpfs_mode"] = int(mount_dict["tmpfs_mode"], 8)
except Exception as dummy:
except Exception:
module.fail_json(
msg=f'tmp_fs mode of mount "{target}" is not an octal string!'
)