Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1011 Bytes

CONTRIBUTING.md

File metadata and controls

43 lines (28 loc) · 1011 Bytes

Developing ARCTIC-3D

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.