Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 797 Bytes

DEVELOPMENT.md

File metadata and controls

44 lines (30 loc) · 797 Bytes

Development

We need to clone the project and prepare the dev environment:

$ git clone https://github.com/manrajgrover/py-spinners.git // or using ssh: [email protected]:manrajgrover/py-spinners.git
$ cd py-spinners
$ pip install -e .

This will install all requirements to use py-spinners. You may want to create a virtual environment specifically for this.

To install development dependencies, run:

$ pip install -r requirements-dev.txt

Testing

Before submitting a pull request, make sure the code passes all the tests and is clean of lint errors:

$ tox

To run tests for specific environment, run:

  1. For Python 2.7:
$ tox -e py27
  1. For Python 3.6:
$ tox -e py36

For checking lint issues:

$ tox -e lint