Skip to content

Commit 5b99360

Browse files
committed
Run ruff
1 parent 1643b73 commit 5b99360

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

fingr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
import pysolar.solar # type: ignore[import-untyped]
1717
import pytz # type: ignore[import-untyped]
1818
import redis
19-
from redis.exceptions import RedisError, ConnectionError
2019
import timezonefinder # type: ignore[import-untyped]
2120
from geopy.geocoders import Nominatim # type: ignore[import-untyped]
2221
from metno_locationforecast import Forecast, Place # type: ignore[import-untyped]
22+
from redis.exceptions import ConnectionError, RedisError
2323

2424
# Quiet the specific pysolar leap-second message so it doesn't spam logs
2525
warnings.filterwarnings(

fingr_test.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# https://docs.python.org/3/library/unittest.html
22

3-
import unittest
43
import datetime
5-
import pytz
6-
import fingr
4+
import unittest
75
from threading import Thread
8-
from fakeredis import TcpFakeServer
6+
7+
import pytz
98
import redis
9+
from fakeredis import TcpFakeServer
10+
11+
import fingr
1012

1113
verbose = True
1214

0 commit comments

Comments
 (0)