fix: Move imports to the top of the file in aider/analytics.py

This commit is contained in:
Paul Gauthier (aider) 2024-08-12 20:44:56 -07:00
parent 84489f16b5
commit 00aa43d964

View file

@ -7,11 +7,11 @@ from pathlib import Path
from mixpanel import Mixpanel
DATA_FILE_NAME = "mixpanel.json"
from aider import __version__
from aider.dump import dump # noqa: F401
DATA_FILE_NAME = "mixpanel.json"
class Analytics:
def __init__(self, track, logfile=None, disable=False):