pylops/: library code.pytests/: pytest suite.docs/,examples/,tutorials/,testdata/: docs, examples, tutorial assets, and test data.pyproject.toml: build, test, lint, and packaging config.Makefile: preferred entry point for local work.
- Prefer
maketargets. Use the*_uvvariants when working in auvenvironment. - Common commands:
make dev-install_uv,make testsormake tests_uv,make lintormake lint_uv,make typeannotormake typeannot_uv,make docupdateormake docupdate_uv. - Packaging uses
hatchling; keep build and version settings inpyproject.toml.
- Follow the
ruffrules inpyproject.toml. - Keep imports tidy and follow PEP 8 rules.
- Follow
numpydocstyle for docstrings. - Add or update tests in
pytests/and examples inexamples/and/ortutorials/when changing behavior or public APIs.
- Use
docs/source/contributing.rstas the source of truth for longer contribution workflows. - If functionality changes, update docs and run the relevant tests before handing off.
- Avoid editing generated artifacts or build output unless the task explicitly requires it.