Fix code style issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from random import random
|
from random import random
|
||||||
|
|
||||||
|
|
||||||
def simulate_trial(p_of_success: float):
|
def simulate_trial(p_of_success: float) -> bool:
|
||||||
"""
|
"""
|
||||||
Simulates the outcome of a single trial in a Bernoulli process.
|
Simulates the outcome of a single trial in a Bernoulli process.
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class Application(IOSoftware):
|
|||||||
self.operating_state = ApplicationOperatingState.RUNNING
|
self.operating_state = ApplicationOperatingState.RUNNING
|
||||||
|
|
||||||
def _application_loop(self):
|
def _application_loop(self):
|
||||||
"""THe main application loop."""
|
"""The main application loop."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def close(self) -> None:
|
def close(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user