style: Fix import order in aider/repo.py

This commit is contained in:
Paul Gauthier (aider) 2024-08-01 17:19:31 -03:00
parent a36861a01a
commit ca0ee9e9ba

View file

@ -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