Ruff
This commit is contained in:
parent
976eec1a2e
commit
ffd5fbb662
|
@ -131,10 +131,12 @@ For code tasks:
|
|||
# MODEL = 'ollama/gemma3:27b'
|
||||
MODEL = 'ollama_chat/gemma3:27b'
|
||||
|
||||
|
||||
def create_aider_command(issue: str) -> list[str]:
|
||||
return [
|
||||
'aider',
|
||||
'--model', MODEL ,
|
||||
'--model',
|
||||
MODEL,
|
||||
'--chat-language',
|
||||
'english',
|
||||
'--test-cmd',
|
||||
|
|
|
@ -74,5 +74,6 @@ def main():
|
|||
logger.info('Sleeping for %d seconds...', args.interval)
|
||||
time.sleep(args.interval)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
from collections.abc import Iterator
|
||||
|
||||
from typing import Iterator
|
||||
import requests
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -108,7 +108,9 @@ class GiteaClient:
|
|||
]
|
||||
return issues
|
||||
|
||||
def iter_user_repositories(self, owner: str, only_those_with_issues: bool = False) -> Iterator[str]:
|
||||
def iter_user_repositories(
|
||||
self, owner: str, only_those_with_issues: bool = False,
|
||||
) -> Iterator[str]:
|
||||
"""
|
||||
Get a list of repositories for a given user.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user