Run within bash
This commit is contained in:
parent
024f987b8d
commit
3f71159ecf
|
@ -30,8 +30,23 @@ def generate_branch_name(issue_number: str, issue_title: str) -> str:
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
AIDER_TEST="virtualenv venv; source venv/bin/activate; pip install -e .; pytest test"
|
||||
AIDER_LINT="ruff format; ruff check --fix --ignore RUF022 --ignore PGH004; ruff format; ruff check --ignore RUF022 --ignore PGH004;"
|
||||
def bash_cmd(*commands: str) -> str:
|
||||
return "bash -c \""+';'.join(cmd)+"\""
|
||||
|
||||
AIDER_TEST=bash_cmd(
|
||||
"virtualenv venv",
|
||||
"source venv/bin/activate",
|
||||
"pip install -e .",
|
||||
"pytest test",
|
||||
)
|
||||
|
||||
AIDER_LINT=bash_cmd(
|
||||
"ruff format",
|
||||
"ruff check --fix --ignore RUF022 --ignore PGH004",
|
||||
"ruff format",
|
||||
"ruff check --ignore RUF022 --ignore PGH004",
|
||||
)
|
||||
|
||||
|
||||
MODEL = 'o3-mini'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user