OpenStack Database As A Service (Trove)
Go to file
Sushil Kumar 167c0ceb7a Enabled F403 flake8 rule
Reasons:
- F403 is disabled.
- code contains "import *" statements.

Changes:
- Updates tox.ini to enable F403 rules.
- Updates code for F403 violation.

Change-Id: If932a910c073ae7bffb74908495f35dbc4f4d1f9
Closes-Bug: #1264724
2014-01-08 10:43:42 +00:00
bin don't try to concatenate a string with a variable that can be None 2013-12-16 11:58:03 +01:00
doc Merge "Fixed misspellings of common words" 2013-12-12 18:29:47 +00:00
etc Merge "Updates trove-guestagent.conf.sample" 2013-12-12 19:32:52 +00:00
rsdns Replace OpenStack LLC with OpenStack Foundation 2013-09-20 05:02:14 +08:00
tools Enclose command args in with_venv.sh 2013-09-09 15:02:40 +08:00
trove Enabled F403 flake8 rule 2014-01-08 10:43:42 +00:00
.coveragerc Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
.gitignore Removing IDE specific ignores 2013-12-07 14:45:45 +00:00
.gitreview Renamed repos to trove. 2013-06-14 18:25:42 -04:00
.testr.conf Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
LICENSE Add Apache 2.0 LICENSE file. 2013-04-29 18:01:12 -04:00
MANIFEST.in Package AUTHORS and ChangeLog file 2013-06-25 10:41:57 +02:00
openstack-common.conf Convert to a more modern form of openstack-common.conf 2013-11-14 20:28:40 +11:00
README.rst Adds instructions for manual Trove installation 2013-09-17 10:48:41 +03:00
requirements.txt Updated from global requirements 2013-12-10 16:24:06 -08:00
run_tests.py Fixed PEP8/flake8 issues 2013-12-10 15:47:09 -08:00
run_tests.sh Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
setup.cfg Conductor proxies host db access for guests 2013-11-26 11:52:00 -06:00
setup.py Update from global requirements 2013-09-30 11:43:42 -04:00
test-requirements.txt Updated from global requirements 2013-12-10 16:24:06 -08:00
tox.ini Enabled F403 flake8 rule 2014-01-08 10:43:42 +00:00

Trove

Trove is Database as a Service for Open Stack.

To run all tests and PEP8, run tox, like so: $ tox

To quickly run the tests for Python 2.7, run: $ tox -epy27

To quickly run PEP8, run: $ tox -epep8

To generate a coverage report,run: $ tox -ecover (note: on some boxes, the results may not be accurate unless you run it twice)

If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run: $ ./bin/start_server

Stop the server with: $ ./bin/stop_server