Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: tox.ini

Issue 29933555: Noissue - fix coding style and adjust linting config (Closed) Base URL: https://hg.adblockplus.org/python-abp
Patch Set: Created Nov. 1, 2018, 11:21 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« tests/test_diff_script.py ('K') | « tests/test_renderer.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [tox] 1 [tox]
2 envlist = py27,py35,py36,pypy,coverage,flake8 2 envlist = py27,py35,py36,pypy,coverage,flake8
3 3
4 [flake8]
5 ignore = D107, N801, W503
6
4 [testenv] 7 [testenv]
5 deps = 8 deps =
6 pytest 9 pytest
7 mock 10 mock
8 commands = 11 commands =
9 py.test tests 12 py.test tests
10 13
11 [testenv:coverage] 14 [testenv:coverage]
12 deps = 15 deps =
13 pytest-cov 16 pytest-cov
14 mock 17 mock
15 commands = 18 commands =
16 py.test --cov=abp --cov-report=term-missing tests 19 py.test --cov=abp --cov-report=term-missing tests
17 20
18 # We have to install our package in development mode 21 # We have to install our package in development mode
19 # so that pytest-cov can find the .coverage file. 22 # so that pytest-cov can find the .coverage file.
20 usedevelop = true 23 usedevelop = true
21 24
22 [testenv:flake8] 25 [testenv:flake8]
23 basepython = python3 26 basepython = python3
24 skip_install = true 27 skip_install = true
25 deps = 28 deps =
26 flake8 29 flake8
27 flake8-docstrings 30 flake8-docstrings
28 flake8-commas 31 flake8-commas
29 pep8-naming 32 pep8-naming
30 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 33 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo
31 commands = 34 commands =
32 flake8 --ignore=D107 abp 35 flake8 abp
33 flake8 --ignore=D1 tests setup.py 36 flake8 --extend-ignore=D1 tests setup.py
OLDNEW
« tests/test_diff_script.py ('K') | « tests/test_renderer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld