summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Extend User from AbstractBaseUser and AnonymousUserMatthias Runge2015-08-061-9/+6
| | | | | | | | | | | | | | | | | Django-1.8 added _meta classes for User models, which aren't supported by AnonymousUsers, the AbstractBaseUser provides default implementation for _meta classes. SimpleTest has been deprecated since Django-1.6 and was now removed. Unfortunately, this change drops Django-1.6 (and earlier) compatibility. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> Partially Implements: blueprint django18 Change-Id: Ie243fd2304421694023f579f49f8fa201e761ba3
* Add Coverage Reports To DOAMike Hagedorn2015-07-011-0/+8
| | | | | | | | | Run coverage reports with `tox -ecover` Creates xml and html reports like horizon * changed html destination to 'reports', like horizon Closes-Bug: 1470203 Change-Id: I91b96eaf9a50e6d199e08d019ff5519a2e0574d5
* Adding 1.6 job for toxDavid Lyle2015-04-291-1/+5
| | | | | | Default test run is against Django 1.7, adding job for Django 1.6 Change-Id: Ic63bad1ef7bf8e19ec1aae48ca4eb52fa1ef2dfd
* Removing python 2.6 supportDavid Lyle2015-04-081-1/+1
| | | | | | | | Python 2.6 is no longer supported in Django >= 1.7 or by OpenStack as of Kilo. Additionally, the versions of django_openstack_auth are all capped on the stable branches, so this will not effect them. Change-Id: I75fc4a0ba090eb0d10cda235a1deb75f734ab1c7
* Fix H405 docstring issuelin-hua-cheng2015-02-181-2/+0
| | | | Change-Id: I39bb85f3c313b8e5065c07aef5c05f7a44f16c98
* Allow running individual tests via toxJamie Lennox2015-02-101-3/+3
| | | | | | | Allow passing a test module name via the tox command line to allow running individual tests. Change-Id: Iff551d054e2a8252f437f6756760cd4418abcfa4
* Move to hacking 0.10lin-hua-cheng2015-02-051-3/+1
| | | | | | | | | Release notes: http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0 Per the release notes, H803 and H904 has been removed. Change-Id: I93c184f4f0483fd0ba605c87453e26c52f700a42
* Bump hacking to 0.9.x seriesAkihiro Motoki2014-10-191-1/+3
| | | | | | | | | In order to sync global-requirements, this patch bumps hacking to 0.9.x series. H236, H305, H307 errors are fixed in this patch. H307 and H904 are added to the ignore list. Change-Id: I37c16ad67912dec8ce1562676ae0ebbfbe277d99
* Work toward Python 3.4 support and testingJeremy Stanley2014-09-031-1/+1
| | | | Change-Id: I56299bcb4f02dfab95b995f147c32623cf329fab
* Fix H4xx docstring issuesAkihiro Motoki2014-07-291-2/+1
| | | | | | Completes blueprint openstack-hacking-compliant Change-Id: Ib286972b65e0e3282db483718421f7f28e8c6cd1
* Fix H301 and H304 hacking issuesAkihiro Motoki2014-06-061-3/+12
| | | | | | | | | | | | | | H301 one import per line | H304 No relative imports When checking imports DJANGO_SETTINGS_MODULE environment needs to be set. Add the following to tox.ini testenv:pep8. setenv = DJANGO_SETTINGS_MODULE=openstack_auth.tests.settings A part of blueprint openstack-hacking-compliant Change-Id: I65a23c1e9a5d7a5852d448651254b6a3866f1dd3
* Disable H803 check.Kieran Spear2014-05-261-1/+2
| | | | | | | H803: Git commit title should not end with period. Change-Id: I4d05b85200de234e9353c8fb26429841488fc0b2 Closes-bug: #1236621
* Use the latest Django 1.4 release to testVeronica Musso2014-04-291-1/+1
| | | | | | | | This patch modifies tox.ini file to use the latest Django 1.4 release to test django-openstack-auth. Change-Id: I6b9203d02aee79339f933eef5765de76901d2ecb Closes-Bug: #1308123
* Merge "Add tox env to build docs"Jenkins2014-04-181-0/+4
|\
| * Add tox env to build docsAkihiro Motoki2014-04-041-0/+4
| | | | | | | | | | | | | | | | | | In django-based projects, we need to specify DJANGO_SETTINGS_MODULE when running docs build. It is required to addresses the failure of docs build job in the gate. Change-Id: I33a867bc00c70f333c4dc62add411f833e418424 Closes-Bug: #1302532
* | Fix H306 imports not in alphabetical orderAkihiro Motoki2014-04-041-6/+2
| | | | | | | | | | | | | | | | | | | | Remove the following rules from ignore list without any violations from these: H201,H302,H303,H701,H702,H803 A part of blueprint openstack-hacking-compliant Change-Id: I4e43e13234f7640ef216db168d873c4cc1198328
* | Fix remaining PEP8 (E***) and PyFlakes (F***) issuesAkihiro Motoki2014-04-041-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E502 the backslash is redundant between brackets E501 line too long (XX > 79 characters) F841 local variable 'XXX' is assigned to but never used Remove F403 and F999 from ignore list because there is no violations related to these. The remaining are all from OpenStack Hacking (H***) rules. A part of blueprint openstack-hacking-compliant Change-Id: I0fb46309621c15dfe4363039bbe46669f1315dec
* | Make Hacking E1XX compliantAkihiro Motoki2014-04-041-5/+1
|/ | | | | | | | | | | E121 continuation line indentation is not a multiple of four E126 continuation line over-indented for hanging indent E127 continuation line over-indented for visual indent E128 continuation line under-indented for visual indent A part of blueprint openstack-hacking-compliant Change-Id: I06ce0ee5132178a777ce9b9e409ef1d24af1ea1f
* Adding Django 1.6 supportDavid Lyle2014-03-181-5/+7
| | | | | | | | | | | Bumping the upper version of Django to include 1.6. Adding a tox env to maintain support for Django 1.5 and fixing env for django 1.4 Implements blueprint django-16-support Change-Id: I093b38f85bea1fbd7641571a3871a721abadd37c
* Merge "Support Django 1.4, 1.5 and 1.6"Jenkins2013-12-201-0/+6
|\
| * Support Django 1.4, 1.5 and 1.6Sascha Peilicke2013-12-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The default session serializer switched to JSONSerializer in Django-1.6. Unfortunately, it can't serialize arbitrary objects (such as datetime instances), there we have to stay with PickleSerializer (compare with https://docs.djangoproject.com/en/1.6/topics/http/sessions/#write-your-own-serializer). Sets Django==1.4 for the py27dj14 tox testenv. Don't relax the version requirements just yet. Change-Id: Ifb5a68950fa6a4a652a0fb0cb81048d89763ec3f
* | Have tox install via setup.py developJames E. Blair2013-12-111-0/+4
|/ | | | | | | | | | | | | | | | tox 1.6 was released, which means that we can now take advantage of the feature we added to it - which is using setup.py develop to install the code into the virtualenv. The logic was taken from run_tests.sh - so the performance issues around using tox vs. using install_venv should now be gone. Additionally, override the tox pip install command to avoid using the "--pre" option which is the default in tox. "--pre" means "Include pre-release and development versions." By default, pip will only install stable versions of software, and that is the behavior we want. Change-Id: Ida5e440d1bdb9f8e9031277ea53a02d2ef171438 Co-Authored-By: Monty Taylor <mordred@inaugust.com>
* Align with OpenStack project standardsMonty Taylor2013-09-101-3/+4
| | | | Change-Id: If03b325c941dcac257b25b90c8b152dcead5edd2
* Add tox.ini file and flake8 ignoresMonty Taylor2013-07-171-0/+41
Change-Id: I11c89c3902d974e94f4fee29211970546579f29e