10000 Merge branch 'main' into feat/draft-notes · python-gitlab/python-gitlab@4da940a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4da940a

Browse files
authored
Merge branch 'main' into feat/draft-notes
2 parents 9788524 + 8aeb853 commit 4da940a

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
action:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: dessant/lock-threads@v5.0.0
18+
- uses: dessant/lock-threads@v5.0.1
1919
with:
2020
process-only: 'issues'

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
- requests-toolbelt==1.0.0
3131
files: 'gitlab/'
3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v1.7.0
33+
rev: v1.7.1
3434
hooks:
3535
- id: mypy
3636
args: []
@@ -47,6 +47,6 @@ repos:
4747
- id: rst-directive-colons
4848
- id: rst-inline-touching-normal
4949
- repo: https://github.com/maxbrunet/pre-commit-renovate
50-
rev: 37.61.3
50+
rev: 37.68.3
5151
hooks:
5252
- id: renovate-config-validator

gitlab/const.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,21 @@ class DetailedMergeStatus(GitlabEnum):
7272
POLICIES_DENIED: str = "policies_denied"
7373

7474

75+
# https://docs.gitlab.com/ee/api/pipelines.html
76+
class PipelineStatus(GitlabEnum):
77+
CREATED: str = "created"
78+
WAITING_FOR_RESOURCE: str = "waiting_for_resource"
79+
PREPARING: str = "preparing"
80+
PENDING: str = "pending"
81+
RUNNING: str = "running"
82+
SUCCESS: str = "success"
83+
FAILED: str = "failed"
84+
CANCELED: str = "canceled"
85+
SKIPPED: str = "skipped"
86+
MANUAL: str = "manual"
87+
SCHEDULED: str = "scheduled"
88+
89+
7590
DEFAULT_URL: str = "https://gitlab.com"
7691

7792
NO_ACCESS = AccessLevel.NO_ACCESS.value

requirements-lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ black==23.11.0
44
commitizen==3.12.0
55
flake8==6.1.0
66
isort==5.12.0
7-
mypy==1.7.0
7+
mypy==1.7.1
88
pylint==3.0.2
99
pytest==7.4.3
1010
responses==0.24.1
1111
types-PyYAML==6.0.12.12
1212
types-requests==2.31.0.10
13-
types-setuptools==68.2.0.1
13+
types-setuptools==68.2.0.2

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pytest-github-actions-annotate-failures==0.2.0
77
pytest==7.4.3
88
PyYaml==6.0.1
99
responses==0.24.1
10-
wheel==0.41.3
10+
wheel==0.42.0

0 commit comments

Comments
 (0)
0