diff --git a/src/darker/config.py b/src/darker/config.py index e5734977d..7beb307d3 100644 --- a/src/darker/config.py +++ b/src/darker/config.py @@ -7,7 +7,6 @@ from darkgraylib.config import BaseConfig, ConfigurationError - UnvalidatedConfig = Dict[str, Union[List[str], str, bool, int]] diff --git a/src/darker/diff.py b/src/darker/diff.py index 73f487cdf..b3c2020f4 100644 --- a/src/darker/diff.py +++ b/src/darker/diff.py @@ -69,7 +69,7 @@ from darker.multiline_strings import find_overlap from darker.utils import DiffChunk -from darkgraylib.diff import validate_opcodes, diff_and_get_opcodes +from darkgraylib.diff import diff_and_get_opcodes, validate_opcodes from darkgraylib.utils import TextDocument logger = logging.getLogger(__name__)