Skip to content

Commit e9dd873

Browse files
committed
address PR feedback [#20]
1 parent 4383357 commit e9dd873

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ def get_pointer_counter_party_other(cls):
122122
@classmethod
123123
def get_permitted_ips(cls):
124124
"""
125-
:rtype: str[]
125+
:rtype: list[str]
126126
"""
127127

128128
permitted_ips_str = cls._get_config_file()[cls._FIELD_PERMITTED_IPS]
129129

130130
if not permitted_ips_str:
131131
return []
132-
else:
133-
return permitted_ips_str.split(cls._DELIMITER_IPS)
132+
133+
return permitted_ips_str.split(cls._DELIMITER_IPS)
134134

135135
@classmethod
136136
def _get_config_file(cls):

tests/test_pagination_scenario.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _ensure_enough_payments(self):
5555
:rtype: None
5656
"""
5757

58-
for i in range(self._payment_missing_count):
58+
for _ in range(self._payment_missing_count):
5959
self._create_payment()
6060

6161
@property

0 commit comments

Comments
 (0)