Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcrawford45 committed Oct 19, 2023
1 parent dc75b95 commit 399cff4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions lemur/plugins/lemur_digicert/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@
import copy
import ipaddress
import json
import sys
from typing import Any, Dict, List

import arrow
import pem
import requests
import sys
from cryptography import x509
from flask import current_app, g
from retrying import retry
from urllib3.util.retry import Retry

from lemur.common.utils import validate_conf, convert_pkcs7_bytes_to_pem
from lemur.extensions import metrics
from lemur.plugins import lemur_digicert as digicert
from lemur.plugins.bases import IssuerPlugin, SourcePlugin
from retrying import retry
from requests.packages.urllib3.util.retry import Retry


def log_status_code(r, *args, **kwargs):
Expand Down
11 changes: 6 additions & 5 deletions lemur/plugins/lemur_entrust/plugin.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import arrow
import requests
import json
import sys

import arrow
import requests
from flask import current_app
from retrying import retry
from requests.packages.urllib3.util.retry import Retry
from urllib3.util.retry import Retry

from lemur.common.utils import validate_conf, get_key_type_from_certificate
from lemur.constants import CRLReason
from lemur.extensions import metrics
from lemur.plugins import lemur_entrust as entrust
from lemur.plugins.bases import IssuerPlugin, SourcePlugin
from lemur.extensions import metrics
from lemur.common.utils import validate_conf, get_key_type_from_certificate


def log_status_code(r, *args, **kwargs):
Expand Down

0 comments on commit 399cff4

Please sign in to comment.