Help in fine tuning your changes with this minimalist CLI tool that reloads your python script after every save.
Install reloader-cli with pip
pip install reloader-cli
To use this tool, simply install it via pip and run
reloader [my_app.py] [main]
By default this tool targets the run() function inside your app.py script.
To run tests and see code coverage, run the following command:
coverage run -m pytest && coverage report -m
Or if only to run tests, run:
pytest
Keep in mind the following modules are required for running these commands:
coverage
pytest
To view the license for using this tool, visit this link here: MIT
For any type of related support or you have some suggestions in mind, email me at [email protected].
For debugging this tool, search for 'debugging' inside the file, and follow the instructions in the comments.