mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 04:44:59 +00:00
style(pre-commit): apply python style from pre-commit hooks
This commit is contained in:
parent
d127d45669
commit
09acfc8147
4 changed files with 5 additions and 2 deletions
|
@ -5,5 +5,6 @@ from .editblock_fenced_prompts import EditBlockFencedPrompts
|
||||||
|
|
||||||
class EditBlockFencedCoder(EditBlockCoder):
|
class EditBlockFencedCoder(EditBlockCoder):
|
||||||
"""A coder that uses fenced search/replace blocks for code modifications."""
|
"""A coder that uses fenced search/replace blocks for code modifications."""
|
||||||
|
|
||||||
edit_format = "diff-fenced"
|
edit_format = "diff-fenced"
|
||||||
gpt_prompts = EditBlockFencedPrompts()
|
gpt_prompts = EditBlockFencedPrompts()
|
||||||
|
|
|
@ -5,6 +5,7 @@ from .help_prompts import HelpPrompts
|
||||||
|
|
||||||
class HelpCoder(Coder):
|
class HelpCoder(Coder):
|
||||||
"""Interactive help and documentation about aider."""
|
"""Interactive help and documentation about aider."""
|
||||||
|
|
||||||
edit_format = "help"
|
edit_format = "help"
|
||||||
gpt_prompts = HelpPrompts()
|
gpt_prompts = HelpPrompts()
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
import os
|
import os
|
||||||
|
import oslex
|
||||||
import re
|
import re
|
||||||
|
import shlex
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
import warnings
|
import warnings
|
||||||
import oslex
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue