Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.03 KB

CONTRIBUTING.md

File metadata and controls

45 lines (29 loc) · 1.03 KB

Developing ARCTIC-3D

This section is still work in progress

Installation

We use poetry to manage the dependencies and the virtual environment, so it makes things easier if you need to install it first; check the official documentation for more details.

Clone the repository and install the dependencies:

git clone https://github.com/haddocking/arctic3d.git && cd arctic3d
poetry install

OR if you prefer pip

git clone https://github.com/haddocking/arctic3d.git && cd arctic3d
pip install . pytest-cov

Testing

pytest --cov=./ --cov-report=xml -v

Linting

We use trunk as the "all-purpose" linting tool, check its documentation.

To check for code style issues, run:

trunk check

To automatically fix the issues, run:

trunk fmt

If you are using VSCode, then this extension make it easy to check for style errors.