summaryrefslogtreecommitdiffstats
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Clean hacking errors in advance of hacking updateMonty Taylor2013-08-151-1/+1
| | | | | | | | The next patch syncs with global requirements, including an update to hacking. These fixes align the codebase with those new rules. Change-Id: I16e5a4ffa877fb46d2fb28d881642185c801b628
* python3: Introduce py33 to tox.iniChuck Short2013-07-121-1/+1
| | | | | | | | Introduce py33 to tox.ini to make testing with python3 easier. Change-Id: I9865a244281def963ab425537f5400f883054319 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* `tox -ecover` failure. Missing entry in tox.iniAnthony Dodd2013-06-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | `tox -ecover` is failing due to a missing entry in keystone's tox.ini file. In tox.ini the following code appears: ''' [testenv:cover] setenv = NOSE_WITH_COVERAGE=1 NOSE_COVER_HTML=1 NOSE_COVER_HTML_DIR={toxinidir}/cover ''' Adding 'VIRTUAL_ENV={envdir}' to the setenv mapping, as shown below, has resolved the issue on my machine. ''' [testenv:cover] setenv = VIRTUAL_ENV={envdir} NOSE_WITH_COVERAGE=1 NOSE_COVER_HTML=1 NOSE_COVER_HTML_DIR={toxinidir}/cover ''' Change-Id: I3550ac61cdc6389dd239c5ad319d881519b3543d Fixes: bug #1195371
* Merge "Move coverage output dir for Jenkins."Jenkins2013-06-111-0/+2
|\
| * Move coverage output dir for Jenkins.Clark Boylan2013-06-051-0/+2
| | | | | | | | | | | | | | * tox.ini: Set the coverage html output dir to {toxinidir}/cover so that Jenkins can find it and upload the coverage to the log server. Change-Id: I231485ce46b1ef91eb219e63552203b86d6d65c2
* | Merge "Ignore the .update-venv directory."Jenkins2013-06-101-1/+1
|\ \
| * | Ignore the .update-venv directory.Jamie Lennox2013-06-041-1/+1
| |/ | | | | | | | | | | | | It appears to be made when you resume a broken venv creation. It is listed in oslo's pep8 exclude list and .gitignore. Change-Id: I3db570c778ca9c6e0df72f5512ed1a9c643ecb38
* / Import eventlet patch from oslo.Jamie Lennox2013-06-051-1/+2
|/ | | | | | | | | | | | | | This was abandoned once before: https://review.openstack.org/#/c/25781/ However this is not to do with packaging. This is required if we use eventlet subprocess module (like we should be) in jenkins tests for python2.6. Also imports patch_tox_venv.py. This is a cutdown version of what would happen in run_tests.sh but for tox environments which is how jenkins runs tests now. Change-Id: I369c3e464dfbe3a754f90db58785e97ac87b36c0
* Merge "Revert "Set EVENTLET_NO_GREENDNS=yes in tox.ini.""Jenkins2013-05-311-1/+0
|\
| * Revert "Set EVENTLET_NO_GREENDNS=yes in tox.ini."Brant Knudson2013-05-301-1/+0
| | | | | | | | | | | | | | | | | | We don't need this since EVENTLET_NO_GREENDNS=yes is set in keystone.common.wsgi_server . This reverts commit 46b224abf1c6f7c9bd579806f202a019e2695b29. Change-Id: I96c2c567f68cdd509425245c7772196918b44b44
* | Rename requires files to standard names.Carlos D. Garza2013-05-241-2/+2
|/ | | | | | | | | Rename tools/pip-requires to requirements.txt and tools/test-requires to test-requirements.txt. These are standard files, and tools in the general world are growing intelligence about them. Fixes: bug #1179008 Change-Id: I1a19f0c73ab48987e2ff0dade1a57a68b65f0a22
* Cleanup docstrings (flake8 H401, H402, H403, H404)Dolph Mathews2013-05-241-5/+1
| | | | | | | | | - docstring should not start with a space (flake8 H401) - one line docstring needs punctuation (flake8 H402) - multi line docstring end on new line (flake8 H403) - multi line docstring should start with a summary (flake8 H404) Change-Id: I69b414395930bda739aa01b785ac619fa8bb7d9b
* imports not in alphabetical order (flake8 H306)Dolph Mathews2013-05-241-2/+1
| | | | Change-Id: I0f6c5fc27b0bb2da553e9345a8ac4949ce46e685
* import only modules (flake8 H302)Dolph Mathews2013-05-241-2/+1
| | | | Change-Id: I0fa6fc6bf9d51b60fa987a0040168f3f0ef78a4a
* one import per line (flake8 H301)Dolph Mathews2013-05-231-2/+1
| | | | Change-Id: Idb93169a0b64861bff22d06304c020865dd0a0ab
* eliminate 'except:' (flake8 H201)Dolph Mathews2013-05-231-2/+1
| | | | Change-Id: Ic53b43b96c490557352be212ac79a7e8a249c21a
* consistent i18n placeholders (flake8 H701, H702, H703)Dolph Mathews2013-05-231-4/+1
| | | | | | | | | | | - eliminates ambiguously defined keywords in i18n strings which may become incorrectly ordered in a corresponding translation. - ensures formatting operations occur outside of i18n calls - use bare multiline string concatenation instead of 'ab' + \n 'cd' - eliminates an 'empty localization string' (passing a variable to i18n function) Change-Id: I0d78b978cc730e5fb892b80dfacaaf6687cd80be
* use the 'not in' operator (flake8 H902)Dolph Mathews2013-05-231-2/+1
| | | | | | ... when evaluating membership in a collection. Change-Id: I3fd3d5b5d5ea505833be50193b8969f8c4feb135
* Use TODO(NAME) (flake8 H101)Dolph Mathews2013-05-231-2/+1
| | | | Change-Id: Ic47bdd61d9818f203a88ae16f97c2b61b1c1bd8c
* Enumerate ignored flake8 H* rulesDolph Mathews2013-05-231-1/+17
| | | | | | | | We were previously ignoring all H* rules; this patch specifically identifies them so that we can eliminate them one by one, without introducing regressions along the way. Change-Id: I3f18f8f9aec8657697c711f5fbb23ec687ce28f0
* Remove unused variables (flake8 F841)Dolph Mathews2013-05-231-1/+1
| | | | Change-Id: I716a6b61c2b3faaa23cc79f58c6c6e01cfc232f2
* Satisfy flake8 import rules F401 and F403Dolph Mathews2013-05-231-1/+1
| | | | | | | | - Removed unused imports - Ignore wildcard and unused imports from core modules (and avoid wildcard imports otherwise) to __init__ modules Change-Id: Ie2e5f61ae37481f5d248788cfd83dc92ffddbd91
* Migrate to flake8.Monty Taylor2013-05-131-5/+7
| | | | | | Closes bug 1172444 Change-Id: I4831946d01f05c2a10264745a07b53fa48be44c8
* Set EVENTLET_NO_GREENDNS=yes in tox.ini.Dan Prince2013-05-101-0/+1
| | | | | | | This should allow tests to pass on Centos 6 without the 6219f94 commit which functionally breaks swift. Change-Id: I4a6d07abf5159d3daa4c8f9bf94e60d730ccd300
* Use oslo-config-2013.1b3Mark McLoughlin2013-02-181-1/+0
| | | | | | | | | | | | | | | The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Add the 2013.1b3 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other deps get installed with easy_install which can't install oslo-config from the URL. Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
* Add pyflakes to tox.iniChuck Short2012-12-241-0/+4
| | | | | | | Add the ability to use pyflakes. Change-Id: I1c0a652258fd494bf6754b5b83c47166582a85d0 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Make tox.ini run pep8 checks on bin.Dan Prince2012-11-121-1/+3
| | | | | | | | | | | This updates the pep8 checks in our tox.ini file so that we are also scanning the bin directory. Additionally, it updates the main pep8 check so that it scans keystone properly as well. Previously there were a bunch of files getting skipped due to some of the pep8 pattern matching. Change-Id: I13827f1c1e4155aa6979c10e981da5422391bf2d
* Remove run_test.py in favor of stock nose.Monty Taylor2012-09-271-2/+2
| | | | | | | | | | | | Move specific functionality into test fixtures, so that normal test runners can work. For now, this means we can use unaltered nose. For the future, it gets us closer to being able to use other test runners such as testrepository which allow for things like parallel test runs and re-running failed tests in a dev/test cycle. Also, aligns keystone with nova and glance. Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
* Sync latest cfg from openstack-commonMark McLoughlin2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | Syncs the following changes from stable/folsom: 4dc2043 cfg: clean up None value handling 513bd3a Allow set_default and set_override to use None 0a36c92 Tilde expansion for --config-file and --config-dir 038d597 Add import_opt() method to ConfigOpts 90da88c Modifies _is_opt_registered fcn to check for duplicate opts 3af0786 cfg: Fix typo in documentation 9f93872 Update common code to support pep 1.3. bug 1014216 fb0f00e Use 'is not None' instead of '!= None' d1ec5ce Add support to include config aliases Also, exclude keystone/openstack/common from pep8 checks because it is pep8-checked in openstack-common anyway and all pep8 fixes would need to go into openstack-common first. Change-Id: Ie6354251942648c16c2be270af2b95f3f45e27ed
* Upgrade PEP8 to 1.3.3 (bug 1037303)Dolph Mathews2012-08-301-1/+1
| | | | Change-Id: I83aa851cec80652888faf3fe29d8b4904f8b4f63
* Expand PEP8 coverage to include docs & testsDolph Mathews2012-08-301-1/+1
| | | | Change-Id: I0941053c8d3eff69e15da3bd7a8c6942ba4634b1
* Clean up test requires a bit.Monty Taylor2012-06-161-18/+8
| | | | | | | | The main culprit here was prettytable - but because of the way this was working, it was causing intermittent transient network issues from pypi in the devstack gates. Change-Id: I62117116c850361c5e2de7e6485c14ef43007c1d
* Fix coverage jobs for Jenkins.Monty Taylor2012-03-061-2/+2
| | | | Change-Id: I9a97ac7b997f531d05d4a6beab7d6c16ced7016a
* Align tox jobs with project standards.Monty Taylor2012-02-281-0/+15
| | | | Change-Id: I215773d0d1b2f5763efcf96b3b84a291df856ad0
* renaming pip-requires-test to test-requiresJoe Heck2012-02-281-2/+3
| | | | | | | | | | | | | * (per request from jeblair) * version of python-ldap match between test and requires * pinned to 2.3.13 to let tests work in macosx * separating dependencies between deps and test * removed python-keystoneclient from install_requires for now. (there is no python-keystoneclient in PyPI) Real solution coming. Change-Id: I89e50d6747fb57dee7badb17bc1231d3619e3ef7
* We don't need all the deps to check pep8.Monty Taylor2012-02-061-6/+1
| | | | Change-Id: I01296b99d7ed91eb26b3d29256d8b9d538d9c839
* updating tox.ini with test pip requirementsJoe Heck2012-02-031-1/+1
|
* Normalize build files with current jenkins.Monty Taylor2012-01-311-0/+26
Change-Id: I528c3cc4e16dfa1465c8e3ac1062c65dc2ddc2f0