Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 846 Bytes

DEVELOPMENT.md

File metadata and controls

20 lines (13 loc) · 846 Bytes

Installation

We recommend that you create a virtual environment when doing any Python code development. See the Python instructions for creating a virtual environment.

Then install libsigopt for development with pip install -e . -r requirements-dev.txt.

Pre commit

File formatting can be configured with pre-commit by running pre-commit install. The next time you commit your changes, your files will be formatted according to the configured pre-commit hooks. A list of all configured pre-commit hooks can be found at ./.pre-commit-config.yaml.

Apply fixes with pre-commit by running pre-commit run. Commit the changed files.