Skip to content

Commit 06a8050

Browse files
committed
style: format with the latest black version
1 parent 137d72b commit 06a8050

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
dist: bionic
2424
python: 3.7
2525
script:
26-
- pip3 install black
26+
- pip3 install -U --pre black
2727
- black --check .
2828
- stage: test
2929
name: cli_func_v4

gitlab/v4/objects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ class GroupClusterManager(CRUDMixin, RESTManager):
762762
_obj_cls = GroupCluster
763763
_from_parent_attrs = {"group_id": "id"}
764764
_create_attrs = (
765-
("name", "platform_kubernetes_attributes",),
766-
("domain", "enabled", "managed", "environment_scope",),
765+
("name", "platform_kubernetes_attributes"),
766+
("domain", "enabled", "managed", "environment_scope"),
767767
)
768768
_update_attrs = (
769769
tuple(),
@@ -1664,8 +1664,8 @@ class ProjectClusterManager(CRUDMixin, RESTManager):
16641664
_obj_cls = ProjectCluster
16651665
_from_parent_attrs = {"project_id": "id"}
16661666
_create_attrs = (
1667-
("name", "platform_kubernetes_attributes",),
1668-
("domain", "enabled", "managed", "environment_scope",),
1667+
("name", "platform_kubernetes_attributes"),
1668+
("domain", "enabled", "managed", "environment_scope"),
16691669
)
16701670
_update_attrs = (
16711671
tuple(),

0 commit comments

Comments
 (0)