Cleanup redundant comments
This commit is contained in:
parent
21bafab882
commit
4098d00409
4 changed files with 0 additions and 44 deletions
|
@ -2,21 +2,10 @@ from pathlib import Path
|
|||
import sys
|
||||
import os
|
||||
|
||||
# getting the name of the directory
|
||||
# where the this file is present.
|
||||
current = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# Getting the parent directory name
|
||||
# where the current directory is present.
|
||||
parent = os.path.dirname(current)
|
||||
|
||||
# adding the parent directory to
|
||||
# the sys.path.
|
||||
sys.path.append(parent)
|
||||
|
||||
# now we can import the module in the parent
|
||||
# directory.
|
||||
|
||||
from domain import Version, ReleaseType, Release
|
||||
|
||||
def test_version(tmp_path: Path):
|
||||
|
|
|
@ -2,21 +2,10 @@ import sys
|
|||
import os
|
||||
from helper import Helper
|
||||
|
||||
# getting the name of the directory
|
||||
# where the this file is present.
|
||||
current = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# Getting the parent directory name
|
||||
# where the current directory is present.
|
||||
parent = os.path.dirname(current)
|
||||
|
||||
# adding the parent directory to
|
||||
# the sys.path.
|
||||
sys.path.append(parent)
|
||||
|
||||
# now we can import the module in the parent
|
||||
# directory.
|
||||
|
||||
from domain import ReleaseType
|
||||
from infrastructure import ReleaseTypeRepository, VersionRepository, ReleaseRepository
|
||||
from mock_infrastructure_api import MockGitApi
|
||||
|
|
|
@ -4,21 +4,10 @@ from helper import Helper
|
|||
import sys
|
||||
import os
|
||||
|
||||
# getting the name of the directory
|
||||
# where the this file is present.
|
||||
current = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# Getting the parent directory name
|
||||
# where the current directory is present.
|
||||
parent = os.path.dirname(current)
|
||||
|
||||
# adding the parent directory to
|
||||
# the sys.path.
|
||||
sys.path.append(parent)
|
||||
|
||||
# now we can import the module in the parent
|
||||
# directory.
|
||||
|
||||
from infrastructure_api import GitApi
|
||||
from infrastructure import VersionRepository
|
||||
from domain import ReleaseType
|
||||
|
|
|
@ -4,20 +4,9 @@ import pytest as pt
|
|||
from pathlib import Path
|
||||
from ddadevops import *
|
||||
|
||||
# getting the name of the directory
|
||||
# where the this file is present.
|
||||
current = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# Getting the parent directory name
|
||||
# where the current directory is present.
|
||||
parent = os.path.dirname(current)
|
||||
|
||||
# adding the parent directory to
|
||||
# the sys.path.
|
||||
sys.path.append(parent)
|
||||
|
||||
# now we can import the module in the parent
|
||||
# directory.
|
||||
|
||||
from pybuilder.core import task, init, Project
|
||||
from release_mixin import ReleaseMixin, create_release_mixin_config
|
||||
|
|
Loading…
Reference in a new issue