LEFT | RIGHT |
1 # Buildtools | 1 # Buildtools |
2 | 2 |
3 ## Introduction | 3 ## Introduction |
4 | 4 |
5 Tools used to produce builds and releases of the Adblock Plus browser | 5 Tools used to produce builds and releases of the Adblock Plus browser |
6 extensions. Intended to be used as a dependency by the extension repositories, | 6 extensions. Intended to be used as a dependency by the extension repositories, |
7 not directly. | 7 not directly. |
8 | 8 |
9 | 9 |
10 ## Usage | 10 ## Usage |
11 | 11 |
12 Please refer to the documentation of the extension repositories for usage | 12 Please refer to the documentation of the extension repositories for usage |
13 instructions. | 13 instructions. |
14 | 14 |
15 | 15 |
16 ## Tests | 16 ## Tests |
17 | 17 |
18 As per the [Python Coding Style guide](https://adblockplus.org/en/coding-style#p
ython) | 18 As per the [Python Coding Style guide](https://adblockplus.org/en/coding-style#p
ython) |
19 this repository can be linted and tested using [Tox](https://pypi.python.org/pyp
i/tox). | 19 this repository can be linted and tested using [Tox](https://pypi.python.org/pyp
i/tox). |
20 | 20 |
21 First make sure you have tox installed: | 21 Once [Tox is installed](https://tox.readthedocs.io/en/latest/install.html) it's |
22 | 22 easy to lint and run the tests: |
23 sudo pip install tox | |
24 | |
25 Now you can lint and test the code by running the tox command: | |
26 | 23 |
27 tox | 24 tox |
28 | 25 |
29 (Tox will take care of installing the other dependencies such as flake8 and | 26 _(Tox will take care of installing the other dependencies such as flake8 and |
30 flake8-abp inside a virtualenv when running the tests.) | 27 flake8-abp inside a virtualenv.)_ |
LEFT | RIGHT |