Skip to content

Commit 2a2f12f

Browse files
dol-senthesamesam
authored andcommitted
gentoolkit common: black cleanup
Signed-off-by: Brian Dolbec <[email protected]> Part-of: #60 Signed-off-by: Sam James <[email protected]>
1 parent 18207cd commit 2a2f12f

File tree

7 files changed

+13
-18
lines changed

7 files changed

+13
-18
lines changed

pym/gentoolkit/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Copyright(c) 2009-2023 Gentoo Authors
44
# Distributed under the terms of the GNU General Public License v2
55

6-
"""Gentoolkit Base Module class to hold common module operation functions
7-
"""
6+
"""Gentoolkit Base Module class to hold common module operation functions"""
87

98
__docformat__ = "epytext"
109

@@ -16,7 +15,6 @@
1615
import gentoolkit.pprinter as pp
1716
from gentoolkit.formatters import format_options
1817

19-
2018
GLOBAL_OPTIONS = (
2119
(" -h, --help", "display this help message"),
2220
(" -q, --quiet", "minimal output"),

pym/gentoolkit/dbapi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# Distributed under the terms of the GNU General Public License v2
55

66
"""Provides access to Portage database api
7-
Note: this file is deprecated, please replace all use
8-
of these variable with the assigned calls. That will
9-
take advantage of them being lazy-loaded.
7+
Note: this file is deprecated, please replace all use
8+
of these variable with the assigned calls. That will
9+
take advantage of them being lazy-loaded.
1010
"""
1111

1212
print(

pym/gentoolkit/flag.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
"""Provides support functions for USE flag settings and analysis"""
99

10-
1110
__all__ = (
1211
"get_iuse",
1312
"get_installed_use",

pym/gentoolkit/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""Miscellaneous helper functions and classes.
66
77
@note: find_* functions that previously lived here have moved to
8-
the query module, where they are called as: Query('portage').find_*().
8+
the query module, where they are called as: Query('portage').find_*().
99
"""
1010

1111
__all__ = (

pym/gentoolkit/module_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
# Copyright(c) 2010, Gentoo Foundation
55
# Distributed under the terms of the GNU General Public License v2
66

7-
"""General Base Module class to hold common module operation functions
8-
"""
7+
"""General Base Module class to hold common module operation functions"""
98

109
__docformat__ = "epytext"
1110

pym/gentoolkit/package.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
important parts of Portage's back-end.
1212
1313
Example usage:
14-
>>> portage = Package('sys-apps/portage-9999')
15-
>>> portage.ebuild_path()
16-
'/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild'
17-
>>> portage.is_masked()
18-
True
19-
>>> portage.is_installed()
20-
False
14+
>>> portage = Package('sys-apps/portage-9999')
15+
>>> portage.ebuild_path()
16+
'/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild'
17+
>>> portage.is_masked()
18+
True
19+
>>> portage.is_installed()
20+
False
2121
"""
2222

2323
__all__ = ("Package", "PackageFormatter", "FORMAT_TMPL_VARS")

pym/gentoolkit/sets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
from gentoolkit import errors
2323
from gentoolkit.atom import Atom
2424

25-
2625
_set_config = None
2726

2827

0 commit comments

Comments
 (0)