diff options
author | Max Wittig <max.wittig95@gmail.com> | 2019-12-08 13:08:44 +0100 |
---|---|---|
committer | Max Wittig <max.wittig95@gmail.com> | 2019-12-08 13:08:44 +0100 |
commit | 06a8050571918f0780da4c7d6ae514541118cf1a (patch) | |
tree | eb277e99770fd1cef88982ae526a2747a665f3f4 | |
parent | 137d72b3bc00588f68ca13118642ecb5cd69e6ac (diff) | |
download | gitlab-06a8050571918f0780da4c7d6ae514541118cf1a.tar.gz |
style: format with the latest black version
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | gitlab/v4/objects.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 36f2961..b631f21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ jobs: dist: bionic python: 3.7 script: - - pip3 install black + - pip3 install -U --pre black - black --check . - stage: test name: cli_func_v4 diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 5125ff4..89e3259 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -762,8 +762,8 @@ class GroupClusterManager(CRUDMixin, RESTManager): _obj_cls = GroupCluster _from_parent_attrs = {"group_id": "id"} _create_attrs = ( - ("name", "platform_kubernetes_attributes",), - ("domain", "enabled", "managed", "environment_scope",), + ("name", "platform_kubernetes_attributes"), + ("domain", "enabled", "managed", "environment_scope"), ) _update_attrs = ( tuple(), @@ -1664,8 +1664,8 @@ class ProjectClusterManager(CRUDMixin, RESTManager): _obj_cls = ProjectCluster _from_parent_attrs = {"project_id": "id"} _create_attrs = ( - ("name", "platform_kubernetes_attributes",), - ("domain", "enabled", "managed", "environment_scope",), + ("name", "platform_kubernetes_attributes"), + ("domain", "enabled", "managed", "environment_scope"), ) _update_attrs = ( tuple(), |