Skip to content

Commit

Permalink
style: pre-commit.ci auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and ahal committed Dec 21, 2023
1 parent d57534c commit 053743a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taskgraph/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def init_taskgraph(options):

context["repo_name"] = urlparse(repo_url).path.rsplit("/", 1)[-1]
if context["repo_name"].endswith(".git"):
context["repo_name"] = context["repo_name"][:-len(".git")]
context["repo_name"] = context["repo_name"][: -len(".git")]

# Generate the project.
cookiecutter(
Expand Down

0 comments on commit 053743a

Please sign in to comment.