1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
## Development
We need to clone the project and prepare the dev environment:
```bash
$ git clone https://github.com/manrajgrover/py-log-symbols.git // or using ssh: git@github.com:manrajgrover/py-log-symbols.git
$ cd py-log-symbols
$ pip install -e .
```
This will install all requirements to use `py-log-symbols`. You may want to create a virtual environment specifically for this.
To install development dependencies, run:
```bash
$ 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:
```bash
$ tox
```
To run tests for specific environment, run:
1. For Python 2.7:
```bash
$ tox -e py27
```
2. For Python 3.6:
```bash
$ tox -e py36
```
For checking lint issues:
```bash
$ tox -e lint
```
|