Skip to content

Contributing

Contributing and testing

We use the pre-commit framework to automatically lint for code style and common pitfals.

Before you commit to your local copy of the repo, please run this from the top level

$ python -m pip install -u -e .
$ python -m pip install -r requirements/tests.txt

It is also recommended to install pre-commit on your machine and then run, from the top level

$ pre-commit install

We use the pytest framework to test idfx's internal components. The test suite can be run from the top level with a simple pytest invocation.

$ pytest