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

Side by Side Diff: tox.ini

Issue 30050566: Noissue - Adapted for new location of flake8-eyeo (python-abp) (Closed)
Patch Set: Created April 25, 2019, 8:29 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | 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,py37,pypy,flake8 2 envlist = py27,py35,py36,py37,pypy,flake8
3 3
4 [flake8] 4 [flake8]
5 ignore = D107,W503,W504 5 ignore = D107,W503,W504
6 6
7 [testenv] 7 [testenv]
8 deps = 8 deps =
9 pytest-cov 9 pytest-cov
10 mock 10 mock
11 commands = 11 commands =
12 # For accurate coverage reports, we write a `pragma: no py{}` instruction 12 # For accurate coverage reports, we write a `pragma: no py{}` instruction
13 # containing the current Python version to a .coveragerc file 13 # containing the current Python version to a .coveragerc file
14 python -c 'import sys; open(".coveragerc", "w").write("[report]\nexclude_lin es = pragma: no py\{\} cover".format(sys.version_info[0]))' 14 python -c 'import sys; open(".coveragerc", "w").write("[report]\nexclude_lin es = pragma: no py\{\} cover".format(sys.version_info[0]))'
15 py.test --cov=abp --cov-report=term-missing --cov-fail-under=100 tests 15 py.test --cov=abp --cov-report=term-missing --cov-fail-under=100 tests
16 16
17 # We have to install our package in development mode so that pytest-cov can 17 # We have to install our package in development mode so that pytest-cov can
18 # find the .coverage and .coveragerc files. 18 # find the .coverage and .coveragerc files.
19 usedevelop = true 19 usedevelop = true
20 20
21 [testenv:flake8] 21 [testenv:flake8]
22 basepython = python3 22 basepython = python3
23 skip_install = true 23 skip_install = true
24 deps = 24 deps =
25 flake8 25 flake8
26 flake8-docstrings 26 flake8-docstrings
27 flake8-commas 27 flake8-commas
28 pep8-naming 28 pep8-naming
29 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 29 git+https://gitlab.com/eyeo/auxiliary/eyeo-coding-style#egg=flake8-eyeo&subd irectory=flake8-eyeo
30 commands = 30 commands =
31 flake8 abp 31 flake8 abp
32 flake8 --extend-ignore=D1 tests setup.py 32 flake8 --extend-ignore=D1 tests setup.py
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld