Restructure package with src layout (i.e. fmmax/ -> src/fmmax/)
Rename tests from module_test.py to test_module.py
Add py.typed file and pyproject.toml entry to indicate that fmmax is a typed package
Add bump-my-version
Add release to pypi workflow
Rework the test_grad test to avoid importing from examples. This allows fmmax tests to be invoked by pytest tests/fmmax rather than python -m pytest tests/fmmax, which is important for CI since only the former will fail if the fmmax package is broken. We also update the CI test to use this invocation.
test_grad
test to avoid importing from examples. This allows fmmax tests to be invoked bypytest tests/fmmax
rather thanpython -m pytest tests/fmmax
, which is important for CI since only the former will fail if thefmmax
package is broken. We also update the CI test to use this invocation.