diff --git a/monkey/infection_monkey/exploit/tools/helpers.py b/monkey/infection_monkey/exploit/tools/helpers.py index 595207f0c..05a15aed7 100644 --- a/monkey/infection_monkey/exploit/tools/helpers.py +++ b/monkey/infection_monkey/exploit/tools/helpers.py @@ -1,7 +1,7 @@ import logging import random import string -from pathlib import Path, PurePosixPath, PureWindowsPath, PurePath +from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Any, Mapping from infection_monkey.model import VictimHost diff --git a/monkey/infection_monkey/network_scanning/http_fingerprinter.py b/monkey/infection_monkey/network_scanning/http_fingerprinter.py index 25e96d4a2..4c738e1ba 100644 --- a/monkey/infection_monkey/network_scanning/http_fingerprinter.py +++ b/monkey/infection_monkey/network_scanning/http_fingerprinter.py @@ -1,8 +1,8 @@ import logging from contextlib import closing -from typing import Dict, Iterable, Optional, Set, Tuple, Any +from typing import Any, Dict, Iterable, Optional, Set, Tuple -from requests import head, Response +from requests import head from requests.exceptions import ConnectionError, Timeout from infection_monkey.i_puppet import (