Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
add yarl URL import and type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
John Newman committed Oct 9, 2023
1 parent 884ec69 commit f007306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mautrix_facebook/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

Check failure on line 1 in mautrix_facebook/analytics.py

View workflow job for this annotation

GitHub Actions / lint

Imports are incorrectly sorted and/or formatted.

Check failure on line 1 in mautrix_facebook/analytics.py

View workflow job for this annotation

GitHub Actions / lint

Imports are incorrectly sorted and/or formatted.

from urllib.parse import urlunparse
from yarl import URL
import logging

import aiohttp
Expand All @@ -11,7 +11,7 @@

log = logging.getLogger("mau.web.public.analytics")
http: aiohttp.ClientSession | None = None
analytics_url: str | None = None
analytics_url: URL | None = None
analytics_token: str | None = None
analytics_user_id: str | None = None

Expand Down

0 comments on commit f007306

Please sign in to comment.