Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e68d32

Browse files
nejchJohnVillalovos
authored andcommitted
chore: adapt style for black v24
1 parentf59aee3 commit4e68d32

File tree

47 files changed

+54
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+54
-15
lines changed

‎gitlab/_backends/protocol.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
classBackendResponse(Protocol):
1515
@abc.abstractmethod
16-
def__init__(self,response:requests.Response)->None:
17-
...
16+
def__init__(self,response:requests.Response)->None: ...
1817

1918

2019
classBackend(Protocol):
@@ -30,5 +29,4 @@ def http_request(
3029
verify:Optional[Union[bool,str]],
3130
stream:Optional[bool],
3231
**kwargs:Any,
33-
)->BackendResponse:
34-
...
32+
)->BackendResponse: ...

‎gitlab/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040

4141

4242
classGitlab:
43-
4443
"""Represents a GitLab server connection.
4544
4645
Args:

‎gitlab/v4/objects/artifacts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/job_artifacts.html
44
"""
5+
56
fromtypingimportAny,Callable,Iterator,Optional,TYPE_CHECKING,Union
67

78
importrequests

‎gitlab/v4/objects/audit_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/audit_events.html
44
"""
5+
56
fromtypingimportAny,cast,Union
67

78
fromgitlab.baseimportRESTManager,RESTObject

‎gitlab/v4/objects/deployments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/deployments.html
44
"""
5+
56
fromtypingimportAny,cast,Dict,Optional,TYPE_CHECKING,Union
67

78
fromgitlabimportcli

‎gitlab/v4/objects/features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/features.html
44
"""
5+
56
fromtypingimportAny,Optional,TYPE_CHECKING,Union
67

78
fromgitlabimportexceptionsasexc

‎gitlab/v4/objects/merge_requests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
https://docs.gitlab.com/ee/api/merge_requests.html
44
https://docs.gitlab.com/ee/api/merge_request_approvals.html
55
"""
6+
67
fromtypingimportAny,cast,Dict,Optional,TYPE_CHECKING,Union
78

89
importrequests

‎gitlab/v4/objects/projects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/projects.html
44
"""
5+
56
fromtypingimport (
67
Any,
78
Callable,

‎gitlab/v4/objects/repositories.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Currently this module only contains repository-related methods for projects.
55
"""
6+
67
fromtypingimportAny,Callable,Dict,Iterator,List,Optional,TYPE_CHECKING,Union
78

89
importrequests

‎gitlab/v4/objects/secure_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GitLab API:
33
https://docs.gitlab.com/ee/api/secure_files.html
44
"""
5+
56
fromtypingimportAny,Callable,cast,Iterator,Optional,TYPE_CHECKING,Union
67

78
importrequests

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp