linting
This commit is contained in:
parent
4ebb931490
commit
3b66390840
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from cd.projects import Projects
|
||||||
|
|
||||||
BRANCH = [
|
BRANCH = [
|
||||||
"GITHUB_REF_NAME",
|
"GITHUB_REF_NAME",
|
||||||
|
@ -15,7 +21,7 @@ ROOT = [
|
||||||
|
|
||||||
|
|
||||||
class Project:
|
class Project:
|
||||||
def __init__(self, projects) -> None:
|
def __init__(self: Project, projects: Projects) -> None:
|
||||||
self.projects = projects
|
self.projects = projects
|
||||||
# branch
|
# branch
|
||||||
for variable in BRANCH:
|
for variable in BRANCH:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
GROUP_AND_NAME = [
|
GROUP_AND_NAME = [
|
||||||
|
@ -11,7 +13,7 @@ SERVER_URL = [
|
||||||
|
|
||||||
|
|
||||||
class Projects:
|
class Projects:
|
||||||
def __init__(self, environment) -> None:
|
def __init__(self: Projects, environment) -> None:
|
||||||
self.environment = environment
|
self.environment = environment
|
||||||
# group, name
|
# group, name
|
||||||
for variable in GROUP_AND_NAME:
|
for variable in GROUP_AND_NAME:
|
||||||
|
|
Loading…
Reference in a new issue