Skip to content

Commit 7271dda

Browse files
[pre-commit.ci] auto fixes from black and isort code formatting
1 parent 0b74b02 commit 7271dda

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/ubi-config-report

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Loads all config from the config source passed on the command-line (or the default)
55
- Prints a basic report on the config found, mappings, package counts etc.
66
"""
7+
78
from argparse import ArgumentParser
89

910
from ubiconfig import get_loader

ubiconfig/utils/api/gitlab.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ class RepoApi(object):
2323
def __init__(self, repo_url, v_3=False):
2424
m = GIT_LAB_URL_FMT.match(repo_url)
2525
if not m:
26-
raise ValueError(
27-
"The hostname must end with '.com|org|net' \
28-
or set GIT_LAB_URL_FMT by yourself"
29-
)
26+
raise ValueError("The hostname must end with '.com|org|net' \
27+
or set GIT_LAB_URL_FMT by yourself")
3028
self.host = m.group("host")
3129
self.repo_id = m.group("project").replace("/", "%2F")
3230
self.v_3 = v_3

0 commit comments

Comments
 (0)