-
Notifications
You must be signed in to change notification settings - Fork 32
/
tox.ini
47 lines (42 loc) · 1.23 KB
/
tox.ini
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
45
46
47
[tox]
envlist = py27
skipsdist = true
[flake8]
exclude =
node_modules,
.tox,
*.pyc,
ignore = D1,C815,W503,W504
per-file-ignores =
chainedconfigparser.py : A107,E501,D205,D208,D400
ensure_dependencies.py : A102,A107,A108,D400,A302,E129,E501,E713,E721,F821
localeTools.py : A104,A107,A301,A302,E501,E713,F401,N802,N803,N806,N813
packager.py : A102,A107,A206,A302,E501,E711,N802,N803,N806
packagerChrome.py : A101,A104,A107,A112,A302,E501,E711,F841,N802,N803,N806,N816
publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N802,N803
releaseAutomation.py : A102,A107,A108,D202,D400,D401,E501,F401,N803,N806,N813
packagerEdge.py : N816,E117
build.py : N813
tests/test_packagerWebExt.py : F632
[coverage:run]
omit = tests/*
[coverage:report]
show_missing = True
[testenv]
whitelist_externals = npm
setenv =
PYTHONPATH = {toxinidir}/..
deps =
pycrypto
pytest
pytest-cov
jinja2
flake8>=3.7.0
flake8-docstrings
flake8-commas
pep8-naming
git+https://gitlab.com/eyeo/auxiliary/eyeo-coding-style#egg=flake8-eyeo&subdirectory=flake8-eyeo
commands =
npm install --no-package-lock --only=production
pytest tests --capture=sys --cov=buildtools
flake8