diff options
author | Ben McGinnes <[email protected]> | 2018-08-10 01:25:01 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-08-10 01:25:01 +0000 |
commit | 94bf13e78e65e1d1bc2e5d6b2311f9c9657bfe5f (patch) | |
tree | ea23101d276096ece7c4eb656fe1c70611953c6d /lang/python/src/__init__.py | |
parent | Link fixes (diff) | |
download | gpgme-94bf13e78e65e1d1bc2e5d6b2311f9c9657bfe5f.tar.gz gpgme-94bf13e78e65e1d1bc2e5d6b2311f9c9657bfe5f.zip |
PEP8 compliance and other code fixes
* Ran all the .py files in src/ and below through Yapf.
* Included some manual edits of core.py, this time successfully making
two notorious sections a bit more pythonic than scheming.
* Left the module imports as is.
* This will be committed if it passes the most essential test:
compiling, installing and running it.
Signed-off-by: Ben McGinnes <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | lang/python/src/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/python/src/__init__.py b/lang/python/src/__init__.py index 385b17e3..82c1cce1 100644 --- a/lang/python/src/__init__.py +++ b/lang/python/src/__init__.py @@ -15,7 +15,6 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - """gpg: GnuPG Interface for Python (GPGME bindings) Welcome to gpg, the GnuPG Interface for Python. @@ -117,5 +116,7 @@ del gpgme _ = [Context, Data, core, errors, constants, util, callbacks, version] del _ -__all__ = ["Context", "Data", - "core", "errors", "constants", "util", "callbacks", "version"] +__all__ = [ + "Context", "Data", "core", "errors", "constants", "util", "callbacks", + "version" +] |