Developer information¶
The following contains some general guidelines for developers.
Structure¶
C++ bindings are defined in
src.Python methods are defined in
lib/stormpy.Tests are given in
tests.The Sphinx documentation can be found in
doc/source.
Coding conventions¶
Formatting¶
Code should be formatted according to the given rules set by black (for Python). Proper formatting can be ensured by executing
black .. The CI automatically checks for proper formatting as well.
Dependencies¶
The bindings are created with pybind11. The pybind11 version is set in
pyproject.tomlthroughrequires, and inCMakeLists.txtthroughfind_package(pybind11 ...).The minimal Python version is set in
pyproject.tomlthroughrequires-python, and inCMakeLists.txtthroughfind_package(Python ...).The Storm version is set in
pyproject.tomlthroughSTORM_GIT_TAG, and inCMakeLists.txtthroughSTORM_MIN_VERSION.