File: DEVELOPMENT.md

package info (click to toggle)
python-log-symbols 0.0.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: python: 91; makefile: 3
file content (44 lines) | stat: -rw-r--r-- 809 bytes parent folder | download | duplicates (2)
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
```