Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.38 KB

WaterTAP r-ENRTL

Welcome to the code repository for WaterTAP r-ENRTL!

GitHub issues GitHub pull requests CI status

Getting started (for Contributors)

WaterTAP r-ENRTL supports Python versions 3.8 through 3.10.

Prerequisites

  • The conda package and environment manager, for example by using the Miniconda installer following the steps appropriate for your operating system

Installation

To install WaterTAP r-ENRTL, run:

git clone https://github.com/watertap-org/watertap-renrtl && cd watertap-renrtl
conda create --yes --name watertap-renrtl-dev-env python=3.10 && conda activate watertap-renrtl-dev-env
pip install -r requirements-dev.txt

Running tests

conda activate watertap-renrtl-dev-env
pytest --pyargs watertap_contrib.rENRTL

Formatting code

Before committing, the Python code must be formatted with Black.

Black is installed by default as part of the developer dependencies. To format the code, run the following command from the local repository root directory:

conda activate watertap-renrtl-dev-env
black .