Skip to content

viktor-platform/piping-tool

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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