-
- Downloads
Extract argument parser creation into separate file
Moved the creation of argparse.ArgumentParser objects used to parse command line arguments into a separate module, `argument_parser.py`. This includes organizing all the add_argument calls into specific functions within this new module, in order to increase code readability, reusability and organization within the argument parsing codebase. All existing usages have been updated accordingly.
parent
bf70afdc
No related branches found
No related tags found
Checking pipeline status
Showing
- cooperative_cuisine/__main__.py 40 additions, 5 deletionscooperative_cuisine/__main__.py
- cooperative_cuisine/argument_parser.py 196 additions, 0 deletionscooperative_cuisine/argument_parser.py
- cooperative_cuisine/game_server.py 2 additions, 7 deletionscooperative_cuisine/game_server.py
- cooperative_cuisine/pygame_2d_vis/drawing.py 2 additions, 18 deletionscooperative_cuisine/pygame_2d_vis/drawing.py
- cooperative_cuisine/pygame_2d_vis/gui.py 3 additions, 10 deletionscooperative_cuisine/pygame_2d_vis/gui.py
- cooperative_cuisine/pygame_2d_vis/video_replay.py 12 additions, 14 deletionscooperative_cuisine/pygame_2d_vis/video_replay.py
- cooperative_cuisine/study_server.py 2 additions, 12 deletionscooperative_cuisine/study_server.py
- cooperative_cuisine/utils.py 0 additions, 135 deletionscooperative_cuisine/utils.py
- tests/test_utils.py 27 additions, 10 deletionstests/test_utils.py
Loading
Please register or sign in to comment