mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Fix import order in aider/repo.py
This commit is contained in:
parent
a36861a01a
commit
ca0ee9e9ba
1 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import time
|
||||||
from pathlib import Path, PurePosixPath
|
from pathlib import Path, PurePosixPath
|
||||||
|
|
||||||
import git
|
import git
|
||||||
|
@ -10,8 +11,6 @@ from aider.sendchat import simple_send_with_retries
|
||||||
from .dump import dump # noqa: F401
|
from .dump import dump # noqa: F401
|
||||||
|
|
||||||
|
|
||||||
import time
|
|
||||||
|
|
||||||
class GitRepo:
|
class GitRepo:
|
||||||
repo = None
|
repo = None
|
||||||
aider_ignore_file = None
|
aider_ignore_file = None
|
||||||
|
@ -261,7 +260,6 @@ class GitRepo:
|
||||||
def normalize_path(self, path):
|
def normalize_path(self, path):
|
||||||
return str(Path(PurePosixPath((Path(self.root) / path).relative_to(self.root))))
|
return str(Path(PurePosixPath((Path(self.root) / path).relative_to(self.root))))
|
||||||
|
|
||||||
|
|
||||||
def refresh_aider_ignore(self):
|
def refresh_aider_ignore(self):
|
||||||
if not self.aider_ignore_file:
|
if not self.aider_ignore_file:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue