We need to clone the project and prepare the dev environment:
$ git clone https://github.com/manrajgrover/py-spinners.git // or using ssh: git@github.com: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
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:
- For Python 2.7:
$ tox -e py27
- For Python 3.6:
$ tox -e py36
For checking lint issues:
$ tox -e lint