Skip to content

Commit 3ff69e7

Browse files
Fix line-length overruns
1 parent 422bc23 commit 3ff69e7

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/hypofuzz/dashboard.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@
2424

2525
PYTEST_ARGS = None
2626

27-
headings = ["nodeid", "elapsed time", "ninputs", "since new cov", "branches", "est. branches", "note"]
27+
headings = [
28+
"nodeid",
29+
"elapsed time",
30+
"ninputs",
31+
"since new cov",
32+
"branches",
33+
"est. branches",
34+
"note",
35+
]
2836
app = flask.Flask(__name__, static_folder=os.path.abspath("pycrunch-recordings"))
2937

3038
try:

src/hypofuzz/hy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,11 @@ def _json_description(self) -> Report:
403403
if self.ninputs >= 10 and "" == report["note"]:
404404
singletons = self.pool.singletons
405405
doubletons = self.pool.doubletons
406-
offset = singletons * (singletons-1) / 2 if 0 == doubletons else singletons * singletons / (2 * doubletons)
406+
offset = (
407+
singletons * (singletons - 1) / 2
408+
if 0 == doubletons
409+
else singletons * singletons / (2 * doubletons)
410+
)
407411
offset = int(offset) + 1
408412
report["est. branches"] = int(str(report["branches"])) + offset
409413
return report

0 commit comments

Comments
 (0)