Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.14 KB

File metadata and controls

36 lines (25 loc) · 1.14 KB

Installation development

Clone the repository

To get started clone the mammos-spindynamics repository via ssh:

git clone git@github.com:MaMMoS-project/mammos-spindynamics.git

or https if you don't have an ssh key:

git clone https://github.com/MaMMoS-project/mammos-spindynamics.git

Then enter into the repository:

cd mammos-spindynamics

Install dependencies with pixi

  • install pixi

  • activate pre-commits by running pre-commit install

  • run pixi shell to create and activate an environment in which mammos-spindynamics is installed (this will install python as well)

  • the following pixi tasks are provided:

    • pixi run test-unittest: Run unittests with pytest (reading tests/)
    • pixi run test-docstrings: Run doctests with pytest (reading src/mammos_spindynamics)
    • pixi run test-notebooks: Run nbval with pytest on notebooks (reading examples/)
    • pixi run test-all: run unittest, doctest and notebooktest
    • pixi run examples: start jupyter lab in examples/ directory
    • pixi run style: style checks on all files using pre-commit run --all-files