Skip to content

Commit 5294da2

Browse files
committed
Fixed linter errors.
1 parent 2c5698a commit 5294da2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

geoip2/records.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,15 +687,15 @@ class Traits(Record):
687687
.. attribute:: static_ip_score
688688
689689
An indicator of how static or dynamic an IP address is. The value ranges
690-
from 0 to 99.99 with higher values meaning a greater static association.
691-
For example, many IP addresses with a user_type of cellular have a
690+
from 0 to 99.99 with higher values meaning a greater static association.
691+
For example, many IP addresses with a user_type of cellular have a
692692
lifetime under one. Static Cable/DSL IPs typically have a lifetime above
693-
thirty.
693+
thirty.
694694
695695
This indicator can be useful for deciding whether an IP address represents
696696
the same user over time.
697697
698-
:type: decimal
698+
:type: decimal
699699
700700
.. attribute:: user_count
701701

tests/webservice_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ def test_insights_ok(self, mock):
291291
'return value of client.insights')
292292
self.assertEqual(insights.traits.network,
293293
compat_ip_network('1.2.3.0/24'), 'network')
294-
self.assertEqual(insights.traits.static_ip_score, 1.3, 'static_ip_score is 1.3')
294+
self.assertEqual(insights.traits.static_ip_score, 1.3,
295+
'static_ip_score is 1.3')
295296
self.assertEqual(insights.traits.user_count, 2, 'user_count is 2')
296297

297298
def test_named_constructor_args(self):

0 commit comments

Comments
 (0)