GitHubのミラーです
https://github.com/FascodeNet/alterlinux-calamares
Revisión | f197acf8e00d20db25f267604685898dc0547daa (tree) |
---|---|
Tiempo | 2021-09-28 00:27:42 |
Autor | Adriaan de Groot <groot@kde....> |
Commiter | Adriaan de Groot |
CI: add stubs for libcalamares bits, to help pylint
@@ -0,0 +1,9 @@ | ||
1 | +# SPDX-FileCopyrightText: no | |
2 | +# SPDX-License-Identifier: CC0-1.0 | |
3 | +# | |
4 | +# Stubs for part of the Python API from libcalamares | |
5 | +# (although the **actual** API is presented through | |
6 | +# Boost::Python, not as a bare C-extension) so that | |
7 | +# pylint doesn't complain about libcalamares internals. | |
8 | + | |
9 | +pass |
@@ -0,0 +1,9 @@ | ||
1 | +# SPDX-FileCopyrightText: no | |
2 | +# SPDX-License-Identifier: CC0-1.0 | |
3 | +# | |
4 | +# Stubs for part of the Python API from libcalamares | |
5 | +# (although the **actual** API is presented through | |
6 | +# Boost::Python, not as a bare C-extension) so that | |
7 | +# pylint doesn't complain about libcalamares internals. | |
8 | + | |
9 | +def value(_): return 1 |
@@ -0,0 +1,15 @@ | ||
1 | +# SPDX-FileCopyrightText: no | |
2 | +# SPDX-License-Identifier: CC0-1.0 | |
3 | +# | |
4 | +# Stubs for part of the Python API from libcalamares | |
5 | +# (although the **actual** API is presented through | |
6 | +# Boost::Python, not as a bare C-extension) so that | |
7 | +# pylint doesn't complain about libcalamares internals. | |
8 | + | |
9 | +def debug(_): pass | |
10 | + | |
11 | +def warning(_): pass | |
12 | + | |
13 | +def gettext_path(): pass | |
14 | + | |
15 | +def gettext_languages(): pass |