We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ib660c909b6b7afeb8edc6b802d5e6897d72f7980
Update the cap on flake8 to support newer versions that work with
python3.
Update tox settings for pep8 environment to use python 3.
Ignore the error caused by not having 2 blank lines before functions and
classes.
Fix 2 syntax errors in function definitions.
Change-Id: I4da79ceefcbf1c23d217716f7b25ac6a092794ff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch fixes followings:
*two lines of Apache license in order to pass H103
*using homedir in PYTHONPATH
Co-Authored-By: Daisuke Fujita <fuzita.daisuke@jp.fujitsu.com>
Change-Id: I8fbe26ae8547879fdda0f840bfc5d582e0395588
This patch provides tox support.
Note:
Basically flake8 section follows monasca-api's ignore rule
except H404.
H405: multi line docstring summary not separated with an empty line
Change-Id: Iac8d5516a66226a7b3fface95059c5e238e8cb72