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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 15 additions and 1 deletions

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

View file

@ -5,6 +5,7 @@ import socketserver
import threading
import time
import unittest
from typing import List
import josepy as jose
import OpenSSL

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

View file

@ -1,4 +1,6 @@
"""Tests for AugeasParserNode classes"""
from typing import List
try:
import mock
except ImportError: # pragma: no cover

View file

@ -1,6 +1,7 @@
"""Test for certbot_apache._internal.http_01."""
import unittest
import errno
from typing import List
try:
import mock

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

View file

@ -1,4 +1,6 @@
"""Test certbot._internal.display.completer."""
from typing import List
try:
import readline # pylint: disable=import-error
except ImportError:

View file

@ -3,6 +3,7 @@ import contextlib
import signal
import sys
import unittest
from typing import Callable, Dict, Union
try:
import mock

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

View file

@ -11,6 +11,7 @@ import sys
import tempfile
import traceback
import unittest
from typing import List
import josepy as jose
import pytz

View file

@ -2,6 +2,7 @@
import functools
import string
import unittest
from typing import List
try:
import mock

View file

@ -1,6 +1,7 @@
"""Tests for letsencrypt.plugins.selection"""
import sys
import unittest
from typing import List
try:
import mock

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: