Skip to content

Commit 22b6ee3

Browse files
committed
fix lint failure
1 parent 78192ed commit 22b6ee3

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

source/generate_who.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ def fetch_cloudstack_members():
1414
if response.status_code != 200:
1515
print("Failed to fetch the page")
1616
return None, None
17-
17+
1818
soup = BeautifulSoup(response.text, "html.parser")
19-
19+
2020
pmc_section = soup.find("h2", {"id": "cloudstack-pmc"})
2121
committers_section = soup.find("h2", {"id": "cloudstack"})
22-
22+
2323
pmc_members = []
2424
committers = []
25-
25+
2626
if pmc_section:
2727
pmc_table = pmc_section.find_next("table")
2828
if pmc_table:
@@ -33,7 +33,7 @@ def fetch_cloudstack_members():
3333
name = columns[1].text.strip()
3434
svn_id = columns[0].text.strip()
3535
pmc_members.append((name, svn_id))
36-
36+
3737
if committers_section:
3838
committers_table = committers_section.find_next("table")
3939
if committers_table:
@@ -51,10 +51,10 @@ def get_repo_path():
5151
try:
5252
# Find the current working directory
5353
current_dir = os.getcwd()
54-
54+
5555
# Check if it's a Git repository
5656
repo = git.Repo(current_dir)
57-
57+
5858
# Get the absolute path of the repository
5959
repo_path = repo.git.rev_parse("--show-toplevel")
6060
return repo_path
@@ -79,16 +79,16 @@ def generate_markdown(pmc_members, committers):
7979
Board Minutes: https://whimsy.apache.org/board/minutes/CloudStack.html
8080
8181
""")
82-
82+
8383
pmc_chair = "Daniel Augusto Veronezi Salvador (gutoveronezi)"
8484
f.write(f"**PMC Chair**: {pmc_chair}\n\n")
85-
85+
8686
f.write("The following data is subject to change. The up-to-date information can be found on <a href=\"http://people.apache.org/committers-by-project.html#cloudstack-pmc\">the Apache Peoples site</a>:\n\n")
87-
87+
8888
f.write("**PMC members (also in the [Committers](#committers) group)**:\n\n")
8989
for name, id in pmc_members:
9090
f.write(f"- {name} ({id})\n")
91-
91+
9292
f.write("\n**<a name=\"committers\">Committers</a>**:\n\n")
9393
for name, id in committers:
9494
f.write(f"- {name} ({id})\n")
@@ -100,4 +100,4 @@ def main():
100100
generate_markdown(pmc_members, committers)
101101

102102
if __name__ == "__main__":
103-
main()
103+
main()

0 commit comments

Comments
 (0)