Skip to content

Commit 7af0dc0

Browse files
committed
save
1 parent 76414c1 commit 7af0dc0

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/version_two_config.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ class VersionTwoConfig:
55
def __init__(self):
66
parser = argparse.ArgumentParser(
77
prog='VersionTwo',
8-
description="Render an HTML page from a collection of GitHub Issues and Pull Requests, "
9-
"NOTE: `--include-user GITHUB_USER_ID` is a required parameter",
8+
description="Render an HTML page from a collection of GitHub Issues and Pull Requests"
109
)
1110

1211
parser.add_argument(
@@ -15,8 +14,7 @@ def __init__(self):
1514
action="append",
1615
type=str,
1716
nargs="+",
18-
help="Include all issues and PRs for the provided user [Required Parameter]",
19-
required=True,)
17+
help="Include all issues and PRs for the provided user [Required Parameter]",)
2018

2119
parser.add_argument(
2220
"--include-repository",
@@ -104,9 +102,9 @@ def __init__(self):
104102

105103
def display_config(self):
106104
print("Configuration:")
105+
print(f"Include User: {self.include_user}")
107106
print(f"Include Repository: {self.include_repository}")
108107
print(f"Include Organization/Repository: {self.include_organization_repository}")
109-
print(f"Include User: {self.include_user}")
110108
print(f"Include Label: {self.include_label}")
111109
print(f"Exclude Organization: {self.exclude_organization}")
112110
print(f"Exclude Repository: {self.exclude_repository}")

version_two.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from version_two_config import VersionTwoConfig
1+
from src.version_two_config import VersionTwoConfig
22

33

44
def main():

0 commit comments

Comments
 (0)