mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Apply linter formatting to analytics.py
This commit is contained in:
parent
62a5cf8dee
commit
d59fd508c2
1 changed files with 2 additions and 2 deletions
|
@ -36,13 +36,13 @@ class Analytics:
|
|||
if properties is None:
|
||||
properties = {}
|
||||
properties.update(kwargs)
|
||||
|
||||
|
||||
# Handle numeric values
|
||||
for key, value in properties.items():
|
||||
if isinstance(value, (int, float)):
|
||||
properties[key] = value
|
||||
else:
|
||||
properties[key] = str(value)
|
||||
|
||||
|
||||
properties["aider_version"] = __version__
|
||||
self.mp.track(self.user_id, event_name, properties)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue