Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 801 Bytes

File metadata and controls

52 lines (35 loc) · 801 Bytes

Contributing

env

To install Python environment, use:

uv venv env --python 3.12
source env/bin/activate
uv pip install pip

Note

Python 3.12 currently needed for matlabengine.

packages

Requirements

uv pip install pru
pru -r requirements-all.txt

Matlab

Optionally, if you want to test matlab compatibility, you can install matlabengine

uv pip install matlabengine

Install in development mode

uv pip install -e ."[dev]"

Pytest

pytest -n auto -rA --lf -c pyproject.toml --cov-report term-missing --cov=matpowercaseframes tests/
pytest --lf -rA -c pyproject.toml --cov-report term-missing --cov=matpowercaseframes --nbmake

Pre-Commit

pre-commit install
pre-commit run --all-files