summaryrefslogtreecommitdiff
path: root/src/OpenSSL/crypto.py
diff options
context:
space:
mode:
authorwhiteowl3 <71030468+whiteowl3@users.noreply.github.com>2022-03-01 22:23:38 -0500
committerGitHub <noreply@github.com>2022-03-02 11:23:38 +0800
commit99911f75f110409742eaf710a178ff0201f9b4a9 (patch)
treebfd71c6a2927bc0d306fe349f0b1f63e97d4adee /src/OpenSSL/crypto.py
parentbb40cf2985d1319afaab84bf545aa2bd95ba23a5 (diff)
downloadpyopenssl-99911f75f110409742eaf710a178ff0201f9b4a9.tar.gz
flake8-import-order (#1099)
* flake8-import-order * make sure bad import orders fail * flake8-import-order * add application name to flake8 section * correct import order for openssl as application
Diffstat (limited to 'src/OpenSSL/crypto.py')
-rw-r--r--src/OpenSSL/crypto.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py
index 79f7f4b..5b09d10 100644
--- a/src/OpenSSL/crypto.py
+++ b/src/OpenSSL/crypto.py
@@ -1,7 +1,7 @@
import calendar
import datetime
-from base64 import b16encode
import functools
+from base64 import b16encode
from functools import partial
from cryptography import utils, x509
@@ -14,16 +14,17 @@ from cryptography.hazmat.primitives.asymmetric import (
)
from OpenSSL._util import (
+ UNSPECIFIED as _UNSPECIFIED,
+ byte_string as _byte_string,
+ exception_from_error_queue as _exception_from_error_queue,
ffi as _ffi,
lib as _lib,
- exception_from_error_queue as _exception_from_error_queue,
- byte_string as _byte_string,
+ make_assert as _make_assert,
path_bytes as _path_bytes,
- UNSPECIFIED as _UNSPECIFIED,
text_to_bytes_and_warn as _text_to_bytes_and_warn,
- make_assert as _make_assert,
)
+
__all__ = [
"FILETYPE_PEM",
"FILETYPE_ASN1",