Skip to content

Commit b716494

Browse files
committed
ok I guess black and flake8 disagree, so we have to go with black here (since it's not configurable)
1 parent 856f5df commit b716494

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

effect/_test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def match(self, actual):
5252
traceback.TracebackException.from_exception(self.expected).format()
5353
)
5454
new = list(traceback.TracebackException.from_exception(actual).format())
55-
tail_equals = lambda a, b: a == b[-len(a):]
55+
tail_equals = lambda a, b: a == b[-len(a) :]
5656
if not tail_equals(expected[1:], new[1:]):
5757
return ReraisedTracebackMismatch(expected_tb=expected, got_tb=new)
5858

effect/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def resolve_effect(effect, result, is_error=False):
268268
is_error, result = guard(cb, result)
269269
if type(result) is Effect:
270270
return Effect(
271-
result.intent, callbacks=result.callbacks + effect.callbacks[i + 1:]
271+
result.intent, callbacks=result.callbacks + effect.callbacks[i + 1 :]
272272
)
273273
if is_error:
274274
raise result

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ universal=1
66

77
[flake8]
88
max-line-length = 100
9-
ignore = E131,E301,E302,E731,W503,E701,E704,E722
9+
ignore = E131,E301,E302,E731,W503,E701,E704,E722,E203

0 commit comments

Comments
 (0)