Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 861 Bytes

DEVELOPMENT.md

File metadata and controls

58 lines (37 loc) · 861 Bytes

Podcast downloader

Code style: black

Installing project

The project is using pipenv.

Setup the pipenv envirement (required only once).

pipenv --python 3.8

Install all dependencies for a project (including dev):

pipenv install --dev

Develop on package

To install package from source control use the fallowing command:

pip install -e .

Tests

After installing the package you run tests

python -m unittest discover -s tests -p *_test.py

E2e tests

Running:

pytest e2e

Uploading the package into repository

python setup.py sdist bdist_wheel
twine upload --repository pypi dist/*

Black

Run code formatter:

black .