Skip to content

Commit

Permalink
fix: ran yapf for passing the checks
Browse files Browse the repository at this point in the history
  • Loading branch information
init-22 committed Nov 19, 2024
1 parent 4b2e64e commit 2b8b771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion algorithmic_efficiency/random_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Annoyingly, RandomState(seed) requires seed to be in [0, 2 ** 32 - 1] (an
# unsigned int), while RandomState.randint only accepts and returns signed ints.
MAX_UINT32 = 2**32-1
MAX_UINT32 = 2**32 - 1
MIN_UINT32 = 0

SeedType = Union[int, list, np.ndarray]
Expand Down
3 changes: 2 additions & 1 deletion scoring/score_submissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ def main(_):
verbosity=0,
self_tuning_ruleset=FLAGS.self_tuning_ruleset,
strict=FLAGS.strict,
output_dir=FLAGS.output_dir,)
output_dir=FLAGS.output_dir,
)
if not os.path.exists(FLAGS.output_dir):
os.mkdir(FLAGS.output_dir)
performance_profile.plot_performance_profiles(
Expand Down

0 comments on commit 2b8b771

Please sign in to comment.