Remove unused imports and order imports

This commit is contained in:
erik 2023-03-09 14:27:36 +01:00
parent 5d2bbb758c
commit a94a7ea62b
5 changed files with 6 additions and 11 deletions

View file

@ -1,8 +1,8 @@
from abc import ABC, abstractmethod
from pathlib import Path
import json import json
import re import re
import subprocess as sub import subprocess as sub
from abc import ABC, abstractmethod
from pathlib import Path
class FileHandler(ABC): class FileHandler(ABC):

View file

@ -1,7 +1,4 @@
import copy
from ddadevops import DevopsBuild from ddadevops import DevopsBuild
from ddadevops import execute
from ddadevops import gopass_field_from_path, gopass_password_from_path
from infrastructure import ReleaseRepository, ReleaseTypeRepository, VersionRepository from infrastructure import ReleaseRepository, ReleaseTypeRepository, VersionRepository
from infrastructure_api import GitApi from infrastructure_api import GitApi
from services import PrepareReleaseService, TagAndPushReleaseService from services import PrepareReleaseService, TagAndPushReleaseService

View file

@ -1,6 +1,6 @@
from pathlib import Path
import sys import sys
import os import os
from pathlib import Path
current = os.path.dirname(os.path.realpath(__file__)) current = os.path.dirname(os.path.realpath(__file__))
parent = os.path.dirname(current) parent = os.path.dirname(current)

View file

@ -1,8 +1,8 @@
from pathlib import Path
import pytest as pt
from helper import Helper
import sys import sys
import os import os
import pytest as pt
from pathlib import Path
from helper import Helper
current = os.path.dirname(os.path.realpath(__file__)) current = os.path.dirname(os.path.realpath(__file__))
parent = os.path.dirname(current) parent = os.path.dirname(current)

View file

@ -1,5 +1,3 @@
import pytest as pt
from pathlib import Path
import sys import sys
import os import os