Added missing from typing imports. (#8724)

This commit is contained in:
Mads Jensen
2021-03-23 21:33:47 +01:00
committed by GitHub
parent 1d7ddb0c0c
commit d3b74f41e0
13 changed files with 15 additions and 1 deletions
+1
View File
@@ -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
+1
View File
@@ -5,6 +5,7 @@ import socketserver
import threading
import time
import unittest
from typing import List
import josepy as jose
import OpenSSL
+1
View File
@@ -4,6 +4,7 @@ import socket
import socketserver
import threading
import unittest
from typing import Set
from unittest import mock
import josepy as jose
+2
View File
@@ -1,4 +1,6 @@
"""Tests for AugeasParserNode classes"""
from typing import List
try:
import mock
except ImportError: # pragma: no cover
+1
View File
@@ -1,6 +1,7 @@
"""Test for certbot_apache._internal.http_01."""
import unittest
import errno
from typing import List
try:
import mock
+1
View File
@@ -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
+2
View File
@@ -1,4 +1,6 @@
"""Test certbot._internal.display.completer."""
from typing import List
try:
import readline # pylint: disable=import-error
except ImportError:
+1
View File
@@ -3,6 +3,7 @@ import contextlib
import signal
import sys
import unittest
from typing import Callable, Dict, Union
try:
import mock
+1 -1
View File
@@ -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
+1
View File
@@ -11,6 +11,7 @@ import sys
import tempfile
import traceback
import unittest
from typing import List
import josepy as jose
import pytz
+1
View File
@@ -2,6 +2,7 @@
import functools
import string
import unittest
from typing import List
try:
import mock
+1
View File
@@ -1,6 +1,7 @@
"""Tests for letsencrypt.plugins.selection"""
import sys
import unittest
from typing import List
try:
import mock
+1
View File
@@ -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: