Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 40d6a59

Browse files
isort'ed imports
1 parent 70d3b5e commit 40d6a59

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

.gitlab-ci.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from gcip import Pipeline
2-
from gcip.addons.python import jobs as python
1+
from gcip import Pipeline, PredefinedVariables
32
from gcip.addons.docker import jobs as docker
4-
from gcip import PredefinedVariables
3+
from gcip.addons.python import jobs as python
54

65
pipeline = Pipeline()
76
pipeline.initialize_image("python:3.9-slim")

docs/user/readme-pipeline-complex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from gcip import Pipeline, JobSequence, Job
1+
from gcip import Job, Pipeline, JobSequence
22
from gcip.addons.gitlab import job_scripts as gitlab
33

44

docs/user/readme-pipeline-simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from gcip import Pipeline, Job
1+
from gcip import Job, Pipeline
22

33
pipeline = Pipeline()
44
pipeline.add_children(Job(namespace="build", script="docker build ."))

gcip/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@
7070
# yapf: disable
7171
from .core.rule import Rule, WhenStatement # noqa
7272
# yapf: disable
73-
from .core.cache import ( # noqa
74-
Cache,
75-
CacheKey,
76-
CachePolicy,
77-
)
73+
from .core.cache import Cache, CacheKey, CachePolicy # noqa
7874
# yapf: disable
7975
from .core.image import Image # noqa
8076
# yapf: disable

gcip/addons/docker/jobs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
Those require [Docker to be installed](https://docs.docker.com/engine/install/) on the Gitlab runner.
44
"""
55

6-
from gcip.core.job import Job
76
from typing import Optional
87

8+
from gcip.core.job import Job
9+
910
__author__ = "Thomas Steinbach"
1011
__copyright__ = "Copyright 2020 DB Systel GmbH"
1112
__credits__ = ["Thomas Steinbach"]

0 commit comments

Comments
 (0)