[docs]defdocs():""" Opens the AeroSandbox documentation. """importwebbrowserwebbrowser.open_new("https://github.com/peterdsharpe/AeroSandbox/tree/master/aerosandbox")# TODO: make this redirect to a hosted ReadTheDocs, or similar.
[docs]defrun_tests():""" Runs all of the AeroSandbox internal unit tests on this computer. """try:importpytestexceptModuleNotFoundError:raiseModuleNotFoundError("Please install `pytest` (`pip install pytest`) to run AeroSandbox unit tests.")importmatplotlib.pyplotaspltwithplt.ion():# Disable blocking plottingpytest.main([str(_asb_root)])