Loading tools/builder/builder.py +4 −1 Original line number Diff line number Diff line Loading @@ -29,8 +29,11 @@ from yaml import full_load, YAMLError from jinja2 import Environment, FileSystemLoader, TemplateNotFound import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading tools/job_customs/job_customs.py +3 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,10 @@ import yaml import argparse import re # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading tools/job_gitlab_labels/job_gitlab_labels.py +3 −1 Original line number Diff line number Diff line Loading @@ -10,8 +10,10 @@ from os import getenv, listdir import requests import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def get_labels(project_name, with_counts=False, include_ancestor_groups=True, search=""): Loading tools/job_image/job_image.py +3 −1 Original line number Diff line number Diff line Loading @@ -6,8 +6,10 @@ import logging import yaml import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def argparse_setup(): Loading tools/job_structure/job_structure.py +3 −1 Original line number Diff line number Diff line Loading @@ -6,8 +6,10 @@ import sys import yaml from yaml import full_load, YAMLError # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() # List of available labels for jobs Loading Loading
tools/builder/builder.py +4 −1 Original line number Diff line number Diff line Loading @@ -29,8 +29,11 @@ from yaml import full_load, YAMLError from jinja2 import Environment, FileSystemLoader, TemplateNotFound import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading
tools/job_customs/job_customs.py +3 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,10 @@ import yaml import argparse import re # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading
tools/job_gitlab_labels/job_gitlab_labels.py +3 −1 Original line number Diff line number Diff line Loading @@ -10,8 +10,10 @@ from os import getenv, listdir import requests import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def get_labels(project_name, with_counts=False, include_ancestor_groups=True, search=""): Loading
tools/job_image/job_image.py +3 −1 Original line number Diff line number Diff line Loading @@ -6,8 +6,10 @@ import logging import yaml import argparse # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def argparse_setup(): Loading
tools/job_structure/job_structure.py +3 −1 Original line number Diff line number Diff line Loading @@ -6,8 +6,10 @@ import sys import yaml from yaml import full_load, YAMLError # Import the config module # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() # List of available labels for jobs Loading