Skip to content

Commit

Permalink
Fix files for updated black style
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc authored and lwasser committed Feb 23, 2024
1 parent 8e74525 commit 608a494
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/pyosmeta/cli/update_review_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# this as will biocypher
"""

import os
from datetime import datetime

Expand Down
10 changes: 5 additions & 5 deletions src/pyosmeta/contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,11 @@ def combine_users(self, repoDict: dict, webDict: dict) -> dict:
if gh_user in webDict.keys():
# Return a list of updated contributor type keys and use it to
# update the web dict
webDict[gh_user][
"contributor_type"
] = self._update_contrib_type(
webDict[gh_user]["contributor_type"],
repoDict[gh_user]["contributor_type"],
webDict[gh_user]["contributor_type"] = (
self._update_contrib_type(
webDict[gh_user]["contributor_type"],
repoDict[gh_user]["contributor_type"],
)
)

# If the user is not in the web dict, add them
Expand Down
6 changes: 3 additions & 3 deletions src/pyosmeta/parse_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,9 @@ def get_repo_endpoints(
pattern = r"[\(\)\[\]?]"
owner = re.sub(pattern, "", owner)
repo = re.sub(pattern, "", repo)
all_repos[
a_package
] = f"https://api.github.com/repos/{owner}/{repo}"
all_repos[a_package] = (
f"https://api.github.com/repos/{owner}/{repo}"
)
return all_repos

def parse_comment(self, issue: dict[str, str]) -> tuple[str, list[str]]:
Expand Down

0 comments on commit 608a494

Please sign in to comment.