Skip to content

Commit d039456

Browse files
Upgrade black dependency (#1131)
1 parent 07476e1 commit d039456

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+14
-90
lines changed

requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ pytest-cov >= 2.8.1, < 2.11.0
77
pytest-mock >= 2.0.0
88
pytest-xdist >= 1.31.0
99
pytest >= 6.0.0
10-
# black==23.11.0 supports py311/py312 targets,
11-
# but it's keen to reformat way too many files
12-
black==21.12b0
13-
click==8.0.4 # Version 8.1 breaks black
10+
black == 22.8.0
1411
flake8
1512
coverage >= 4.5.3, < 5
1613
coveralls

stripe/api_resources/account.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3600,7 +3600,6 @@ def list(
36003600
params=params,
36013601
)
36023602
if not isinstance(result, ListObject):
3603-
36043603
raise TypeError(
36053604
"Expected list object from API, got %s"
36063605
% (type(result).__name__)

stripe/api_resources/apple_pay_domain.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ def list(
172172
params=params,
173173
)
174174
if not isinstance(result, ListObject):
175-
176175
raise TypeError(
177176
"Expected list object from API, got %s"
178177
% (type(result).__name__)

stripe/api_resources/application_fee.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ def list(
221221
params=params,
222222
)
223223
if not isinstance(result, ListObject):
224-
225224
raise TypeError(
226225
"Expected list object from API, got %s"
227226
% (type(result).__name__)

stripe/api_resources/apps/secret.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def list(
289289
params=params,
290290
)
291291
if not isinstance(result, ListObject):
292-
293292
raise TypeError(
294293
"Expected list object from API, got %s"
295294
% (type(result).__name__)

stripe/api_resources/balance_transaction.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ def list(
285285
params=params,
286286
)
287287
if not isinstance(result, ListObject):
288-
289288
raise TypeError(
290289
"Expected list object from API, got %s"
291290
% (type(result).__name__)

stripe/api_resources/billing_portal/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,6 @@ def list(
701701
params=params,
702702
)
703703
if not isinstance(result, ListObject):
704-
705704
raise TypeError(
706705
"Expected list object from API, got %s"
707706
% (type(result).__name__)

stripe/api_resources/charge.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,6 @@ def list(
23242324
params=params,
23252325
)
23262326
if not isinstance(result, ListObject):
2327-
23282327
raise TypeError(
23292328
"Expected list object from API, got %s"
23302329
% (type(result).__name__)

stripe/api_resources/checkout/session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3713,7 +3713,6 @@ def list(
37133713
params=params,
37143714
)
37153715
if not isinstance(result, ListObject):
3716-
37173716
raise TypeError(
37183717
"Expected list object from API, got %s"
37193718
% (type(result).__name__)

stripe/api_resources/country_spec.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ def list(
123123
params=params,
124124
)
125125
if not isinstance(result, ListObject):
126-
127126
raise TypeError(
128127
"Expected list object from API, got %s"
129128
% (type(result).__name__)

0 commit comments

Comments
 (0)