Ruff
This commit is contained in:
parent
5fdf9cf002
commit
c1786856c4
aider_gitea
|
@ -18,14 +18,12 @@ from pathlib import Path
|
|||
import requests
|
||||
|
||||
from . import secrets
|
||||
from ._version import __version__ # noqa: F401
|
||||
from .seen_issues_db import SeenIssuesDB
|
||||
|
||||
from ._version import __version__ # noqa: F401
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
def generate_branch_name(issue_number: str, issue_title: str) -> str:
|
||||
"""
|
||||
Create a branch name by sanitizing the issue title.
|
||||
|
|
|
@ -6,16 +6,9 @@ It assumes that the default branch (default "main") exists and that you have a v
|
|||
|
||||
import argparse
|
||||
import logging
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
|
||||
from . import secrets, handle_issues
|
||||
from . import handle_issues, secrets
|
||||
from .gitea_client import GiteaClient
|
||||
from .seen_issues_db import SeenIssuesDB
|
||||
|
||||
|
|
|
@ -1,12 +1,4 @@
|
|||
|
||||
import argparse
|
||||
import logging
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
|
||||
|
@ -114,6 +106,3 @@ class GiteaClient:
|
|||
if any(label.get('name') == 'aider' for label in issue.get('labels', []))
|
||||
]
|
||||
return issues
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user