Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 883 Bytes

DEVELOPER.md

File metadata and controls

43 lines (30 loc) · 883 Bytes

Development

Creating a virtualenv to test

We recommend to use a virtual environment to write code as it will not use everything from your global python setup.

To set up a virtual environment:

python3 -mvenv venv

To activate the virtual environment.

venv/bin/activate

To install the dependencies:

pip install -r requirements.txt

Running tests

To run the tests, just enter the following command.

PYTHONPATH=. python3 -m unittest discover tests

Publishing new version

  1. Bump the version in codiga/version.py on the master branch
  2. Commit the code git commit -a && git push
  3. Draft a new release