From 00aa43d964f6abfc0ae3437747d7d6e4afcb6421 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 12 Aug 2024 20:44:56 -0700 Subject: [PATCH] fix: Move imports to the top of the file in aider/analytics.py --- aider/analytics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/analytics.py b/aider/analytics.py index b75bc1ae5..b9cf7b65e 100644 --- a/aider/analytics.py +++ b/aider/analytics.py @@ -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):