commit:     2a2f12f3bf90502b73e307a94b4202dedd5e10c3
Author:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Thu Jan 22 08:43:13 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 22 19:06:28 2026 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2a2f12f3

gentoolkit common: black cleanup

Signed-off-by: Brian Dolbec <brian.dolbec <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoolkit/pull/60
Signed-off-by: Sam James <sam <AT> gentoo.org>

 pym/gentoolkit/base.py        |  4 +---
 pym/gentoolkit/dbapi.py       |  6 +++---
 pym/gentoolkit/flag.py        |  1 -
 pym/gentoolkit/helpers.py     |  2 +-
 pym/gentoolkit/module_base.py |  3 +--
 pym/gentoolkit/package.py     | 14 +++++++-------
 pym/gentoolkit/sets.py        |  1 -
 7 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/pym/gentoolkit/base.py b/pym/gentoolkit/base.py
index 4dcbfa1..d1e7f68 100644
--- a/pym/gentoolkit/base.py
+++ b/pym/gentoolkit/base.py
@@ -3,8 +3,7 @@
 # Copyright(c) 2009-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-"""Gentoolkit Base Module class to hold common module operation functions
-"""
+"""Gentoolkit Base Module class to hold common module operation functions"""
 
 __docformat__ = "epytext"
 
@@ -16,7 +15,6 @@ import gentoolkit
 import gentoolkit.pprinter as pp
 from gentoolkit.formatters import format_options
 
-
 GLOBAL_OPTIONS = (
     ("    -h, --help", "display this help message"),
     ("    -q, --quiet", "minimal output"),

diff --git a/pym/gentoolkit/dbapi.py b/pym/gentoolkit/dbapi.py
index 9e480f8..04d2d5a 100644
--- a/pym/gentoolkit/dbapi.py
+++ b/pym/gentoolkit/dbapi.py
@@ -4,9 +4,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 """Provides access to Portage database api
-       Note: this file is deprecated, please replace all use
-       of these variable with the assigned calls.  That will
-       take advantage of them being lazy-loaded.
+Note: this file is deprecated, please replace all use
+of these variable with the assigned calls.  That will
+take advantage of them being lazy-loaded.
 """
 
 print(

diff --git a/pym/gentoolkit/flag.py b/pym/gentoolkit/flag.py
index f2bed6f..987c68f 100644
--- a/pym/gentoolkit/flag.py
+++ b/pym/gentoolkit/flag.py
@@ -7,7 +7,6 @@
 
 """Provides support functions for USE flag settings and analysis"""
 
-
 __all__ = (
     "get_iuse",
     "get_installed_use",

diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py
index c883ad3..34d2a0e 100644
--- a/pym/gentoolkit/helpers.py
+++ b/pym/gentoolkit/helpers.py
@@ -5,7 +5,7 @@
 """Miscellaneous helper functions and classes.
 
 @note: find_* functions that previously lived here have moved to
-          the query module, where they are called as: 
Query('portage').find_*().
+           the query module, where they are called as: 
Query('portage').find_*().
 """
 
 __all__ = (

diff --git a/pym/gentoolkit/module_base.py b/pym/gentoolkit/module_base.py
index a8e9c9e..df68111 100644
--- a/pym/gentoolkit/module_base.py
+++ b/pym/gentoolkit/module_base.py
@@ -4,8 +4,7 @@
 # Copyright(c) 2010, Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-"""General Base Module class to hold common module operation functions
-"""
+"""General Base Module class to hold common module operation functions"""
 
 __docformat__ = "epytext"
 

diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
index e3dd092..6a46e71 100644
--- a/pym/gentoolkit/package.py
+++ b/pym/gentoolkit/package.py
@@ -11,13 +11,13 @@ tree and VARDB (/var/db/), provide rich comparison and 
sorting, and expose
 important parts of Portage's back-end.
 
 Example usage:
-       >>> portage = Package('sys-apps/portage-9999')
-       >>> portage.ebuild_path()
-       '/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild'
-       >>> portage.is_masked()
-       True
-       >>> portage.is_installed()
-       False
+        >>> portage = Package('sys-apps/portage-9999')
+        >>> portage.ebuild_path()
+        '/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild'
+        >>> portage.is_masked()
+        True
+        >>> portage.is_installed()
+        False
 """
 
 __all__ = ("Package", "PackageFormatter", "FORMAT_TMPL_VARS")

diff --git a/pym/gentoolkit/sets.py b/pym/gentoolkit/sets.py
index 31c0df5..71ec542 100644
--- a/pym/gentoolkit/sets.py
+++ b/pym/gentoolkit/sets.py
@@ -22,7 +22,6 @@ except ImportError:
 from gentoolkit import errors
 from gentoolkit.atom import Atom
 
-
 _set_config = None
 
 

Reply via email to