Remove many lint warnings
Mostly whitespace changes, with max-line-length set to 120 and double-quotes used, adopting black settings. Related to https://github.com/capnproto/pycapnp/issues/128
This commit is contained in:
@@ -297,7 +297,13 @@ def test_timer():
|
||||
assert test_timer_var is True
|
||||
|
||||
test_timer_var = False
|
||||
promise = capnp.Promise(0).then(lambda x: time.sleep(.1)).then(lambda x: time.sleep(.1)).then(lambda x: set_timer_var())
|
||||
promise = capnp.Promise(0).then(
|
||||
lambda x: time.sleep(.1)
|
||||
).then(
|
||||
lambda x: time.sleep(.1)
|
||||
).then(
|
||||
lambda x: set_timer_var()
|
||||
)
|
||||
|
||||
canceller = capnp.getTimer().after_delay(1).then(lambda: promise.cancel())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user