Showing 192 of 229 total issues
File utils.py
has 300 lines of code (exceeds 250 allowed). Consider refactoring. Open
#!/usr/bin/env python3# Sefkhet-Abwy# Copyright(C) 2019,2020 Christoph Görn## This program is free software: you can redistribute it and / or modify
Line too long (91 > 79 characters) Open
_LOGGER.info("GitHub App from context in ping handler: %s", RUNTIME_CONTEXT.github_app)
- Read upRead up
- Exclude checks
Line too long (105 > 79 characters) Open
f"👌 Pull Request *{pull_request['title']}* has been *closed* with *unmerged commits*! 🚧",
- Read upRead up
- Exclude checks
Line too long (80 > 79 characters) Open
if pull_request["user"]["login"] not in ["sesheta", "khebhut[bot]"]:
- Read upRead up
- Exclude checks
Line too long (107 > 79 characters) Open
# Don't approve for the other users, until they explicitly ask for turning on this feature.
- Read upRead up
- Exclude checks
Line too long (81 > 79 characters) Open
ecosystem_name = security_advisory["vulnerabilities"]["package"]["ecosystem"]
- Read upRead up
- Exclude checks
Line too long (161 > 79 characters) Open
return f"⭐ In this Universe, based on relative position of planets and all the galaxies I picked {hangouts_userid(random.choice(_THOTH_INHABITANTS))} ⭐"
- Read upRead up
- Exclude checks
Line too long (103 > 79 characters) Open
{"name": "human_intervention_required", "color": "f3ccff", "description": "to a human team mate!"},
- Read upRead up
- Exclude checks
Line too long (101 > 79 characters) Open
from aicoe.sesheta.actions.common import get_master_head_sha, get_pull_request, trigger_update_branch
- Read upRead up
- Exclude checks
Line too long (103 > 79 characters) Open
if (gate_pass_status["context"] == "local/check") and (gate_pass_status["state"] == "success"):
- Read upRead up
- Exclude checks
Line too long (112 > 79 characters) Open
@click.option("--github-endpoint", default="https://api.github.com", help="The GitHub API Endpoint to be used.")
- Read upRead up
- Exclude checks
Line too long (86 > 79 characters) Open
_LOGGER.debug(f"on_pull_request_review: working on PR {pull_request['html_url']}")
- Read upRead up
- Exclude checks
Line too long (100 > 79 characters) Open
notification_text = f"📗 '{realname(review['user']['login'])}' *approved* this Pull Request!"
- Read upRead up
- Exclude checks
Line too long (92 > 79 characters) Open
f"{realname(issue['user']['login'])} just opened an issue: *{issue['title']}*... 🚨 "
- Read upRead up
- Exclude checks
Line too long (84 > 79 characters) Open
codeowners_content = base64.b64decode(codeowners["content"]).decode("utf-8")
- Read upRead up
- Exclude checks
Line too long (107 > 79 characters) Open
_LOGGER.debug(f"rebasing Pull Request {pull_request} in {owner}/{repo} triggered: {triggered}")
- Read upRead up
- Exclude checks
Line too long (108 > 79 characters) Open
label = await github_api.getitem(f"/repos/{slug}/labels/{name}", preview_api_version="symmetra")
- Read upRead up
- Exclude checks
Line too long (114 > 79 characters) Open
# TODO if rebaseable is None, we need to come back in a few seconds, github has not finished a background task
- Read upRead up
- Exclude checks
Line too long (81 > 79 characters) Open
f", head sha = {head_sha} and pull requests's base sha = {base_sha}",
- Read upRead up
- Exclude checks
Line too long (105 > 79 characters) Open
_LOGGER.debug(f"removing pervious size label '{has_size_label}' from {pull_request['html_url']}")
- Read upRead up
- Exclude checks