mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: Move module-level constant after imports to resolve flake8 E402 errors
This commit is contained in:
parent
97b5b1b669
commit
0045641db7
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,6 @@ from datetime import datetime
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# Constants
|
|
||||||
NOTIFICATION_MESSAGE = "Aider is waiting for your input"
|
|
||||||
|
|
||||||
from prompt_toolkit.completion import Completer, Completion, ThreadedCompleter
|
from prompt_toolkit.completion import Completer, Completion, ThreadedCompleter
|
||||||
from prompt_toolkit.cursor_shapes import ModalCursorShapeConfig
|
from prompt_toolkit.cursor_shapes import ModalCursorShapeConfig
|
||||||
from prompt_toolkit.enums import EditingMode
|
from prompt_toolkit.enums import EditingMode
|
||||||
|
@ -39,6 +36,9 @@ from aider.mdstream import MarkdownStream
|
||||||
from .dump import dump # noqa: F401
|
from .dump import dump # noqa: F401
|
||||||
from .utils import is_image_file
|
from .utils import is_image_file
|
||||||
|
|
||||||
|
# Constants
|
||||||
|
NOTIFICATION_MESSAGE = "Aider is waiting for your input"
|
||||||
|
|
||||||
|
|
||||||
def ensure_hash_prefix(color):
|
def ensure_hash_prefix(color):
|
||||||
"""Ensure hex color values have a # prefix."""
|
"""Ensure hex color values have a # prefix."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue