Skip to content

Commit

Permalink
STYLE: Apply black to AuthorsChangesSince.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jun 9, 2021
1 parent 62804d0 commit 7504f6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Utilities/Maintenance/AuthorsChangesSince.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,16 @@ def write_changelog(repo_name, commit_link_prefix, git_revision):
examples_dir = scratch_dir / "ITKSphinxExamples"
if not examples_dir.exists():
subprocess.check_call(
"git clone https://github.com/InsightSoftwareConsortium/ITKSphinxExamples", shell=True
"git clone https://github.com/InsightSoftwareConsortium/ITKSphinxExamples",
shell=True,
)
os.chdir(examples_dir)
update_previous_authors(f'--until="{revision_time}"')
update_recent_authors(f'--since="{revision_time}"')
update_authors_with_email(f'--since="{revision_time}"')
commit_link_prefix = "https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/commit/"
commit_link_prefix = (
"https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/commit/"
)
write_changelog("ITK Sphinx Examples", commit_link_prefix, f'--since="{revision_time}"')

# ITKSoftwareGuide Repository
Expand Down

0 comments on commit 7504f6e

Please sign in to comment.