flake8 compliant

This commit is contained in:
brb
2023-07-13 12:13:55 +02:00
parent 7a965e5dfc
commit 4a15e9fee0
3 changed files with 7 additions and 4 deletions
+1 -2
View File
@@ -44,7 +44,7 @@ def handle_event(request: GiteaRequest):
# extract information
commit_msg = request.head_commit['message']
repo_url = request.repository['clone_url']
branch_name = request.ref.split('/')[-1]
# branch_name = request.ref.split('/')[-1]
# stop early if asked
if commit_msg.lower().startswith('[skip ci]'):
raise HTTPException(
@@ -63,7 +63,6 @@ def handle_event(request: GiteaRequest):
# execute runner script
logging.info('rexecuting runner script')
execute_runner_script(path=runner_script_path)
# # TODO: create virtualenv?
# # install requirements
# assert pipeline.requirements is not None