fixed a few pylint warnings

This commit is contained in:
Tobias Schmidl 2020-09-21 08:10:28 +02:00
parent 07fd54dfca
commit a95fc1ace0

View file

@ -17,7 +17,7 @@ from __future__ import annotations
import datetime # for the whole ms → s and vice versa stuff import datetime # for the whole ms → s and vice versa stuff
import statistics # for median and stdev import statistics # for median and stdev
import sys # for redirecting print to stderr import sys # for redirecting print to stderr
from typing import Generic, List, Sequence, TypeVar, Optional, Tuple, Dict, Union from typing import Dict, List, Optional, Tuple
import requests # for the central HTTP HEAD request import requests # for the central HTTP HEAD request
@ -30,7 +30,6 @@ __maintainer__ = "Tobias Schmidl"
MAX_PING: datetime.timedelta = datetime.timedelta(milliseconds=1000) # in seconds MAX_PING: datetime.timedelta = datetime.timedelta(milliseconds=1000) # in seconds
TARGETS: List[str] = ["https://www.google.de", "https://www.bing.com", "https://www.wikipedia.org"] TARGETS: List[str] = ["https://www.google.de", "https://www.bing.com", "https://www.wikipedia.org"]
T = TypeVar('T')
Bucket = Tuple[int, int] Bucket = Tuple[int, int]
BucketList = List[Bucket] BucketList = List[Bucket]