From de63669ceee38b21faba08c245f41d4ffb6ef3f6 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 27 Sep 2021 21:32:43 +0200 Subject: [PATCH] CI: add missing API stub-implementation for pylint --- ci/libcalamares/job.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ci/libcalamares/job.py diff --git a/ci/libcalamares/job.py b/ci/libcalamares/job.py new file mode 100644 index 000000000..9ea38b878 --- /dev/null +++ b/ci/libcalamares/job.py @@ -0,0 +1,15 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +# Stubs for part of the Python API from libcalamares +# (although the **actual** API is presented through +# Boost::Python, not as a bare C-extension) so that +# pylint doesn't complain about libcalamares internals. + +configuration = dict() + +def setprogress(_): pass + +def pretty_name(): return "" + +def working_path(): return ""