pre-commit: Bump versions
Change-Id: I35816774499bab3c2b1e36e096c108373b163c73 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -13,13 +13,13 @@ repos:
|
||||
- id: check-yaml
|
||||
files: .*\.(yaml|yml)$
|
||||
- repo: https://opendev.org/openstack/hacking
|
||||
rev: 7.0.0
|
||||
rev: 8.0.0
|
||||
hooks:
|
||||
- id: hacking
|
||||
additional_dependencies: []
|
||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.20.0
|
||||
rev: v3.21.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py3-only]
|
||||
|
||||
@@ -75,8 +75,6 @@ def create_trust_id(auth_plugin, trustor_user_id, trustor_project_id, roles,
|
||||
|
||||
def get_public_endpoint():
|
||||
"""Get Zaqar's public endpoint from keystone"""
|
||||
global _ZAQAR_ENDPOINTS
|
||||
|
||||
if _ZAQAR_ENDPOINTS:
|
||||
return _ZAQAR_ENDPOINTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user