mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: Address linting errors in patch_coder and search_replace
This commit is contained in:
parent
dae1a376a2
commit
67b9345929
2 changed files with 0 additions and 15 deletions
|
@ -3,7 +3,6 @@ from dataclasses import dataclass, field
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import Dict, List, Optional, Tuple
|
from typing import Dict, List, Optional, Tuple
|
||||||
|
|
||||||
from ..dump import dump # noqa: F401
|
|
||||||
from .base_coder import Coder
|
from .base_coder import Coder
|
||||||
from .patch_prompts import PatchPrompts
|
from .patch_prompts import PatchPrompts
|
||||||
|
|
||||||
|
|
|
@ -235,20 +235,6 @@ Left
|
||||||
Left
|
Left
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
|
||||||
ri = RelativeIndenter([example])
|
|
||||||
dump(example)
|
|
||||||
|
|
||||||
rel_example = ri.make_relative(example)
|
|
||||||
dump(repr(rel_example))
|
|
||||||
|
|
||||||
abs_example = ri.make_absolute(rel_example)
|
|
||||||
dump(abs_example)
|
|
||||||
|
|
||||||
|
|
||||||
sys.exit()
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
def relative_indent(texts):
|
def relative_indent(texts):
|
||||||
ri = RelativeIndenter(texts)
|
ri = RelativeIndenter(texts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue