rki-mf1 / covsonar

A database-driven system for handling genomic sequences of SARS-CoV-2 and screening genomic profiles.
GNU General Public License v3.0
6 stars 0 forks source link

Prepare packing and automated testing #57

Closed matthuska closed 2 years ago

matthuska commented 2 years ago

Reorganize the repo and set up the necessary files to package the software using poetry, do linting and testing with nox, and easily reformat the code and imports with black and zimports. Added some basic tests using pytest, but the "import" task is currently untested because it is causing crashes.

See CONTRIBUTING.md for the info you need to get started. From the TLDR section of that document:

mamba create -n covsonar-dev python=3.9 poetry fortran-compiler nox pre-commit emboss=6.6.0
mamba activate covsonar-dev  # needs to be activated for the following commands to work
poetry install  # install current source of covsonar and its dependencies
poetry run covsonar <args>  # run covsonar
nox  # run linting and pytest tests
nox -s zimports black  # auto format imports and code

Still to do: