Commit Graph

13 Commits

Author SHA1 Message Date
huang.zhiping 4dca41b155 fix tox python3 overrides
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: Ibfd7165f5d8d3d9035df51fc670313126c5d3a06
2018-06-09 01:13:57 +08:00
Omar Tleimat 2fe5276a56 Resolve warnings in Sphinx documentation
Currently several warnings are being thrown when running
tox -e docs, this is an attempt to fix those warnings

Change-Id: I26f3e1d83f2bfc7c5d5cd2a9393b24c992ff1122
2017-08-16 09:36:34 -07:00
JinLi 9c8902cc26 Moving hardcoded constants to config file
This is the first commit that starts the process of moving hardcoded
constants into config files. There will be more commits in future
as we identify more hardcoded constants in our code.

Change-Id: I0605567c8fa34cb0e809525b4b9194ebd02751eb
2017-06-13 12:21:14 -07:00
Tin Lam 92627678c4 Update to use os-testr to get better report
Change-Id: Iee2e7683672a1551d8a6409fab8b2166c50722b7
2017-04-14 22:32:45 -05:00
Georg Kunz c99134524a Fixing broken import statement
Uncommenting a previously commented import statement. This import
statement is needed to load the configuration options of the
proton server.

Change-Id: I507070825d9e3d9064d0924eaea4d6e610590c48
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-03-30 23:46:56 +02:00
Jin Li 458c177871 Remove unused import statements
Romove unused import statements from unitest files.
Also comment out unused import statements from non-test files,
keep them there in case they are needed in the future.

Change-Id: Id2d900839ec364c0b9108ef1c81e71ffe51207ff
2017-03-16 23:23:49 +00:00
Bin Hu 467ca53879 Updated Requirements and py35 Support
(1) Updated requirements.txt
(2) Updated test-requirements.txt
(3) updated setup.cfg for py35
(4) updated tox.ini for py35

Change-Id: I9f0be2b903fe9f25af458e032d0c1953cfcdd13b
Signed-off-by: Bin Hu <bh526r@att.com>
2017-02-09 10:47:28 -08:00
Darla Ahlert ce549c8ce7 Remove two pep8 ignores and fix corresponding bugs
Tin originally ignored F401 and F841 in pep8 tests [1]. This
patch removes those ignores and fixes the bugs that come from
running the updated tests.

[1] https://github.com/openstack/gluon/blob/master/tox.ini#L42-L43

Change-Id: Ibe96a1eb8f0d3d412c11370fb348d1c1a99404cc
2016-12-19 08:02:48 -06:00
Tin Lam 7e0295eba3 Enable pep8
Gluon currently has pep8 disabled in tox.ini.  This should be enabled
before the code base's style further diverges from the standard.
This patch set also fixes a number of issues detected in enabling pep8.

Change-Id: Ia8ef86942a8eacacf425be4dbbe2cd8330558bb9
2016-11-04 07:30:29 -05:00
gengchc2 2c20b0ad87 Update flake8 ignore list
In hacking >= 0.10.0, there is no E123 and E125, so this commit to
delete them.

Change-Id: Ie5bae24dcbdcabd8db462352d1a4ebf09b2b28ff
2016-09-28 15:34:33 +08:00
Thomas Hambleton 6d6d3f8152 Initial Gluon Code
This commit contains the first semi-working version of the code to use 
the ML2 plugin wrapper class (GluonPlugin).

Previous repositories contained a standalone Gluon service. This has 
been deprecated and its functionality is now in the GluonPlugin class.

Implements: blueprint gluon-ml2-plugin

Change-Id: I7a5c68332c302413f3e8be71763a37e861df2460
Co-Authored-By: Ian Wells <iawells@cisco.com>
Co-Authored-By: Thomas Hambleton <Thomas.Hambleton@nokia.com>
Co-Authored-By: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-21 19:48:56 +00:00
Andreas Jaeger e152996800 cleanup tox.ini, enable constraints
Remove old and unused constraints environments from tox.ini. Those
have never been used. Use standard environments as default list.

Enable constraints for all tox based jobs.

For more information about constraints see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: Ia2a4595feb1a67e81dfe7d22ddcae8d8cb020436
2016-08-26 16:40:56 +02:00
Bin Hu 4fa03fa960 Initial repo from cookiecutter
Change-Id: I4c08babb4b1de8d47728c3562d1129521dc62c83
Signed-off-by: Bin Hu <bh526r@att.com>
2016-06-29 14:26:40 -07:00