Skip to content
/ piping-tool Public template

This tool can be used to calculate the piping failure mechanism on dykes.

License

Notifications You must be signed in to change notification settings

viktor-platform/piping-tool

Repository files navigation

Introduction

Welcome to the Sterke-Lekdijk repo!

Developing app

This app makes use of code quality tools. These tools are isolated in a seperate requirements file (dev-requirements.txt). The following sections helps you with the setup and using these tools.

Creating a virtual enviroment

To create a venv on Linux:

python3 -m venv env

Activate the virtual environment:

source ./env/bin/activate

Install dependencies:

pip install -r dev-requirements.txt

Code quality commands

Formatting with black and isort (replace with viktor-cli.exe for Windows):

python -m black app/ tests/
python -m isort .

Static code analysis:

python -m pylint app/ tests/

Run tests:

viktor-cli test