mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Added missing from typing imports. (#8724)
This commit is contained in:
parent
1d7ddb0c0c
commit
d3b74f41e0
13 changed files with 15 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import datetime
|
|||
import http.client as http_client
|
||||
import json
|
||||
import unittest
|
||||
from typing import Dict
|
||||
from unittest import mock
|
||||
|
||||
import josepy as jose
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import socketserver
|
|||
import threading
|
||||
import time
|
||||
import unittest
|
||||
from typing import List
|
||||
|
||||
import josepy as jose
|
||||
import OpenSSL
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import socket
|
|||
import socketserver
|
||||
import threading
|
||||
import unittest
|
||||
from typing import Set
|
||||
from unittest import mock
|
||||
|
||||
import josepy as jose
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
"""Tests for AugeasParserNode classes"""
|
||||
from typing import List
|
||||
|
||||
try:
|
||||
import mock
|
||||
except ImportError: # pragma: no cover
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
"""Test for certbot_apache._internal.http_01."""
|
||||
import unittest
|
||||
import errno
|
||||
from typing import List
|
||||
|
||||
try:
|
||||
import mock
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import glob
|
|||
import re
|
||||
import shutil
|
||||
import unittest
|
||||
from typing import List
|
||||
|
||||
from certbot import errors
|
||||
from certbot.compat import os
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
"""Test certbot._internal.display.completer."""
|
||||
from typing import List
|
||||
|
||||
try:
|
||||
import readline # pylint: disable=import-error
|
||||
except ImportError:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import contextlib
|
|||
import signal
|
||||
import sys
|
||||
import unittest
|
||||
from typing import Callable, Dict, Union
|
||||
|
||||
try:
|
||||
import mock
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import logging.handlers
|
|||
import sys
|
||||
import time
|
||||
import unittest
|
||||
|
||||
from typing import Optional
|
||||
|
||||
from acme import messages
|
||||
from certbot import errors
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import sys
|
|||
import tempfile
|
||||
import traceback
|
||||
import unittest
|
||||
from typing import List
|
||||
|
||||
import josepy as jose
|
||||
import pytz
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
import functools
|
||||
import string
|
||||
import unittest
|
||||
from typing import List
|
||||
|
||||
try:
|
||||
import mock
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
"""Tests for letsencrypt.plugins.selection"""
|
||||
import sys
|
||||
import unittest
|
||||
from typing import List
|
||||
|
||||
try:
|
||||
import mock
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
import socket
|
||||
from socket import errno as socket_errors # type: ignore
|
||||
import unittest
|
||||
from typing import Dict, Set, Tuple
|
||||
|
||||
import josepy as jose
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue