fix syntax error (#2481)

This commit is contained in:
Andrew Ferlitsch
2023-11-09 19:54:23 +00:00
committed by GitHub
parent 7d53d90235
commit 3c83824d02
@@ -166,7 +166,7 @@ else:
notebooks = [changed_notebook for changed_notebook in changed_notebooks if execute_changed_notebooks_helper.select_notebook(changed_notebook, accumulative_results, args.test_percent)]
# cap the number of notebooks to the specified percentage
max_notebooks = int((len(changed_notebooks) * (args.test_percenti/100)))
max_notebooks = int((len(changed_notebooks) * (args.test_percent/100)))
if (len(notebooks) > max_notebooks):
notebooks = notebooks[:max_notebooks]