Skip to content

Commit

Permalink
CI: add missing API stub-implementation for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandegroot committed Sep 27, 2021
1 parent 51898ea commit de63669
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ci/libcalamares/job.py
Original file line number Diff line number Diff line change
@@ -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 ""

0 comments on commit de63669

Please sign in to comment.