Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 886 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (24 loc) · 886 Bytes

Contributing to DDT

Guidelines

We'll be happy if you want to contribute to the improvement of ddt.

Code contributions will take the form of pull requests to the github repo.

Your PRs are more likely to be merged quickly if:

  • They adhere to coding conventions in the repo (PEP8)
  • They include tests

Building

PRs to ddt are always built by Travis-CI on Python 2 and 3.

If you want to build ddt locally, the simplest way is to use tox:

pip install tox
tox

This will run tests on various releases of python (2 and 3, as long as they are installed in your computer), run flake8 and build the Sphinx documentation.

Alternatively, if you only want to run tests on your active version of python, I recommend you make yourself a virtual environment and:

pip install -r requirements/build.txt
./build.sh