-
David Schäfer authoredfdeb7ff7
After you've reviewed these contribution guidelines, you'll be all set to
contribute to this project.
CONTRIBUTING.md 998 B
Development Environment
We recommend an virtual python environment for development. The setup process consists of the follwing simply steps:
- Create a fresh environment with:
python -m venv saqc_dev
- Activate the created environment
source saqc_dev/bin/activate
- Install the dependencies
python -m pip install -r requirements.txt
Testing
SaQC comes with an extensive test suite based on pytest. In order to run all tests execute:
python -m pytest .
Coding conventions
Naming
Code
We follow the follwing naming conventions
- Classes: CamelCase
- Functions: camelCase
- Variables/Arguments: snake_case
Test Functions
- testnames: [testmodule_]flagTestName
Formatting
We use (black)[https://black.readthedocs.io/en/stable/] with a line length if 120 characters.
Within the SaQC
root directory run black -l 120
Imports
Only absolute imports are accepted