Skip to content

Commit

Permalink
Fix Keras nightly build script.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 519188628
  • Loading branch information
fchollet authored and tensorflower-gardener committed Mar 24, 2023
1 parent b6080ff commit b661c9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pip_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,9 @@ def test_wheel(wheel_path, expected_version, requirements_path):
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument(
"--nightly", default=False, help="Whether this is for keras-nightly"
"--nightly",
action=argparse.BooleanOptionalAction,
help="Whether this is for the `keras-nightly` package.",
)
args = parser.parse_args()
is_nightly = args.nightly
Expand Down

0 comments on commit b661c9f

Please sign in to comment.