diff options
author | Ben McGinnes <[email protected]> | 2018-08-18 05:36:23 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-08-18 05:36:23 +0000 |
commit | 8a6a73b9c4f92b159450edb5e4a780fc7389ca82 (patch) | |
tree | ea28f65ae64a05eb7e993cca9ee8c5e1f8fa473f /lang/python/src/constants/sig | |
parent | Python bindings src: PEP8 compliance (diff) | |
download | gpgme-8a6a73b9c4f92b159450edb5e4a780fc7389ca82.tar.gz gpgme-8a6a73b9c4f92b159450edb5e4a780fc7389ca82.zip |
Python bindings constants: PEP8 compliance (almost)
* PEP8 compliance for all constants except the globals in
src/constants/__init__.py depending on whether the import sequence
affects the globals themselves.
Diffstat (limited to 'lang/python/src/constants/sig')
-rw-r--r-- | lang/python/src/constants/sig/__init__.py | 3 | ||||
-rw-r--r-- | lang/python/src/constants/sig/mode.py | 3 | ||||
-rw-r--r-- | lang/python/src/constants/sig/notation.py | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/lang/python/src/constants/sig/__init__.py b/lang/python/src/constants/sig/__init__.py index fc34f8e4..f45af004 100644 --- a/lang/python/src/constants/sig/__init__.py +++ b/lang/python/src/constants/sig/__init__.py @@ -1,5 +1,6 @@ from __future__ import absolute_import, print_function, unicode_literals -del absolute_import, print_function, unicode_literals from . import mode, notation __all__ = ['mode', 'notation'] + +del absolute_import, print_function, unicode_literals diff --git a/lang/python/src/constants/sig/mode.py b/lang/python/src/constants/sig/mode.py index 0f4f0efc..3a2d17a3 100644 --- a/lang/python/src/constants/sig/mode.py +++ b/lang/python/src/constants/sig/mode.py @@ -16,8 +16,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from __future__ import absolute_import, print_function, unicode_literals -del absolute_import, print_function, unicode_literals from gpg import util util.process_constants('GPGME_SIG_MODE_', globals()) -del util +del absolute_import, print_function, unicode_literals, util diff --git a/lang/python/src/constants/sig/notation.py b/lang/python/src/constants/sig/notation.py index 9a79e014..9e56be39 100644 --- a/lang/python/src/constants/sig/notation.py +++ b/lang/python/src/constants/sig/notation.py @@ -18,8 +18,7 @@ # License along with this program; if not, see <http://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals -del absolute_import, print_function, unicode_literals from gpg import util util.process_constants('GPGME_SIG_NOTATION_', globals()) -del util +del absolute_import, print_function, unicode_literals, util |