From 889f47a54197a44fc828948d8ce18d4b87369f8c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 7 Jun 2024 12:14:57 +0300 Subject: [PATCH] Fixed C0411 Signed-off-by: Dimitris Zlatanidis --- slpkg/blacklist.py | 2 +- slpkg/repositories.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/slpkg/blacklist.py b/slpkg/blacklist.py index c58cf81a..ad5d404c 100644 --- a/slpkg/blacklist.py +++ b/slpkg/blacklist.py @@ -2,9 +2,9 @@ # -*- coding: utf-8 -*- +from pathlib import Path import tomlkit from tomlkit.exceptions import TOMLKitError -from pathlib import Path from slpkg.configs import Configs from slpkg.toml_errors import TomlErrors diff --git a/slpkg/repositories.py b/slpkg/repositories.py index 6a6417b2..4babdc5e 100644 --- a/slpkg/repositories.py +++ b/slpkg/repositories.py @@ -2,12 +2,13 @@ # -*- coding: utf-8 -*- -import tomlkit -from tomlkit.exceptions import TOMLKitError from pathlib import Path from typing import ClassVar from dataclasses import dataclass +import tomlkit +from tomlkit.exceptions import TOMLKitError + from slpkg.configs import Configs from slpkg.utilities import Utilities from slpkg.toml_errors import TomlErrors