summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Adding pre-commit"Zuul2020-10-051-0/+2
|\
| * Adding pre-commitHervé Beraud2020-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced changes: - pre-commit config and rules - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: Ifc5ee35d399c628604ec1644eb447936803c45f5 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Bump bandit versionvictoria-em4.1.1Moisés Guimarães de Medeiros2020-07-241-1/+1
|/ | | | | | | | This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: I0b8b5a8899b22744cfd65b5e889a6283aec9ddfe Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | Change-Id: I95cb5bd989ec10e6bcc8f7f2aea9aa81c3e79dd6
* Cleanup py27 supportAndreas Jaeger2020-04-131-1/+1
| | | | | | | | | | | This repo is now testing only with Python 3, so let's make a few cleanups: - Remove obsolete sections from setup.cfg - Update classifiers - Use newer openstackdocstheme version - Switch to hacking 3.0, fix problems found Change-Id: I539b00204279c7645ef4a3f804f64a1e7af30f05
* Use unittest.mock instead of third party mockussuri-em4.0.2Sean McGinnis2020-03-311-1/+0
| | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I15fc9e39d69f817fb5db8ce7111d0397a25c94b0 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Cap Bandit below 1.6.0 and update Sphinx requirementBen Nemec2019-05-151-1/+1
| | | | | | | | | | | | Bandit 1.6.0 accidentally changed how the exclusion list option is handled and breaks our use of it. Cap to the previous version until Bandit has fixed the problem. Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. Change-Id: Ifdad77dfc957ed90da88efe729cc6b35e96f0392 Reference: https://github.com/PyCQA/bandit/pull/489
* Update hacking versionjacky062019-03-201-1/+1
| | | | | | Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I80abc19501fafe2397f3362719182fea870fdca7
* Switch to stestrrocky-em3.36.0Vu Cong Tuan2018-07-041-0/+1
| | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I9b230222866d41a12713f321cee88da896ba76a1
* Follow the new PTI for document buildZhongShengping2018-03-021-3/+0
| | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I35fb490d34af834182522a856d6ab7e24d0ec678
* Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | Change-Id: I0500df5e85a580dca97636bd859d444e351f31b0
* Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| | | | Change-Id: I25430886340a31c45b3c378af040c6891aad71f0
* Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
| | | | Change-Id: I1e892b7d12929e7629052cfe3de0c8b021871dbf
* add bandit to pep8 jobChangBo Guo(gcb)2017-11-301-0/+2
| | | | | | Add the bandit security scanner to the pep8 job. Change-Id: Ib4707b55c190b117410212cef7f5afc789c91583
* Updated from global requirementsOpenStack Proposal Bot2017-11-161-1/+1
| | | | Change-Id: Id3828421ece02140a525625a20ea870efa3314cd
* Updated from global requirements3.32.0OpenStack Proposal Bot2017-09-211-1/+1
| | | | Change-Id: Ib6924ccd93a97065c8788ba556547fd7e128f25a
* Updated from global requirementsOpenStack Proposal Bot2017-09-111-1/+1
| | | | Change-Id: Ic6a97a7c7485b13a6baa67a52de4debff2f5f088
* Updated from global requirementsOpenStack Proposal Bot2017-08-181-2/+2
| | | | Change-Id: Id0b164467e0b5ef620067dd3665c21911cab08a3
* Updated from global requirementsOpenStack Proposal Bot2017-08-041-1/+1
| | | | Change-Id: If5c0e4057e7a4f37824a1c866e78df512f34fa0b
* Merge "Fix exception in json response under py35"Jenkins2017-08-041-0/+1
|\
| * Fix exception in json response under py35Yujun Zhang2017-07-311-0/+1
| | | | | | | | | | | | | | charset is required when response with body Closes-Bug: #1707127 Change-Id: I9921c67866d252f972954eed5afbc90389e06c3f
* | Updated from global requirementsOpenStack Proposal Bot2017-07-271-1/+1
|/ | | | Change-Id: I9738946929409bc3f811be99c71c9a703ce3a6cd
* switch from oslosphinx to openstackdocsthemeDong Ma2017-06-281-2/+2
| | | | Change-Id: Iadf4ea330b79dd81e5eed98b145798fe29c64c70
* Updated from global requirements3.28.0OpenStack Proposal Bot2017-06-021-1/+1
| | | | Change-Id: I8c8e7b477e2d4c362d1f67928464d9e0a7c3631a
* Updated from global requirementsOpenStack Proposal Bot2017-05-171-1/+1
| | | | Change-Id: Ibef33fb34d4e6848f4a116749f07c16afe7ae1a7
* Updated from global requirementsOpenStack Proposal Bot2017-05-151-1/+1
| | | | Change-Id: I60da2b02b5a758dc6ef57077d0e8dbb88c90ddff
* Updated from global requirements3.24.0OpenStack Proposal Bot2017-03-031-1/+1
| | | | Change-Id: Ia6f0c93b68aef3baa5099ad51587cecd2ab923c7
* [Fix gate]Update test requirementricolin2017-03-021-1/+1
| | | | | | | | | Since pbr already landed and the old version of hacking seems not work very well with pbr>=2, we should update it to match global requirement. Partial-Bug: #1668848 Change-Id: Ifd5506f7cbaeda3ce198e8e3213dcfbf629a8c90
* Updated from global requirementsOpenStack Proposal Bot2017-02-101-1/+1
| | | | Change-Id: I4a7664a970bd14deb09a765707588509a2197e5f
* Updated from global requirementsOpenStack Proposal Bot2016-11-021-1/+1
| | | | Change-Id: I89394ebfe69077027322038a13e7a275c43b8a78
* Updated from global requirementsOpenStack Proposal Bot2016-11-011-1/+1
| | | | Change-Id: Id67ce4576ba7ff2d9b1434fbc87f61e3dbb9f4d8
* Merge "Add reno for release notes management"Jenkins2016-10-131-0/+1
|\
| * Add reno for release notes managementKirill Bespalov2016-06-301-0/+1
| | | | | | | | | | | | | | An initial patch to add reno and create a base directory for release notes Change-Id: I2fa27beb5d7e2c898ce567dce2add00ccdb54afe
* | Updated from global requirementsOpenStack Proposal Bot2016-09-281-2/+2
| | | | | | | | Change-Id: Ic1ee3e75669ce54bdb329fb0d77acb2b2ea78d44
* | Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | | | | | Change-Id: I69f586a1c9180684dc9626eddd745f32dae94a1b
* | Updated from global requirements3.12.0OpenStack Proposal Bot2016-06-031-1/+1
| | | | | | | | Change-Id: I450fc87dbd6ad80875110512c100d28095a15194
* | Updated from global requirementsOpenStack Proposal Bot2016-05-311-1/+1
|/ | | | Change-Id: Ia3307d02ecf4d58cd6972945767e426f31200d59
* Updated from global requirementsOpenStack Proposal Bot2016-04-081-1/+1
| | | | Change-Id: If77cfc44d507a80d6e59fa6fbcce105f3c3b7001
* Updated from global requirementsOpenStack Proposal Bot2016-01-161-5/+5
| | | | Change-Id: Ife0027f8dfdf48111176c1c40806616026ee1890
* Updated from global requirementsOpenStack Proposal Bot2015-11-191-1/+1
| | | | Change-Id: I181a596f4a8e6d70f835b05c90479aa3d2a8f373
* Updated from global requirementsOpenStack Proposal Bot2015-08-041-1/+1
| | | | Change-Id: Ic83bad4c1d57c087d4b316b033f53b0cf78869f9
* Updated from global requirementsOpenStack Proposal Bot2015-07-291-1/+1
| | | | Change-Id: Ib09f808f176ace0455365c44893b689d3651fcd4
* Updated from global requirementsOpenStack Proposal Bot2015-07-221-2/+1
| | | | Change-Id: I8fbff54589b9edada072c9fa871bf8f6b41c9397
* Updated from global requirementsOpenStack Proposal Bot2015-07-171-1/+1
| | | | Change-Id: I649c1aa12a3458d22ef745f5f614ec76250e3bf2
* Updated from global requirementsOpenStack Proposal Bot2015-07-151-1/+1
| | | | Change-Id: I6a1f892958bc08f6fab21b08925561c36ce7221e
* Fix mocking for 1.1.0Doug Hellmann2015-07-121-1/+2
| | | | | | | | | | | Call the right assertion method on the mock in test_disablefile_unconfigured, and fix the way the mock is set up so it works. Combine this with the change to pin the version of mock used on python 2.6 and to raise the minimum version of mock used elsewhere. Change-Id: I1ac9f9796227a860df75d4c72464479dbe66258c
* Updated from global requirementsOpenStack Proposal Bot2015-06-301-1/+1
| | | | Change-Id: I7436bd0fad903c362bdc474397a43447874cd7cc
* Updated from global requirementsOpenStack Proposal Bot2015-06-221-5/+5
| | | | Change-Id: I9ceca37d91690cbb66ad8789b9a72a92cd450170
* Uncap library requirements for liberty1.1.0Doug Hellmann2015-04-161-2/+2
| | | | | Change-Id: Ibb6b10a15a26b442b5cbf03c378ebf17f9487e58 Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
* Update to latest hackingDoug Hellmann2015-04-031-1/+1
| | | | Change-Id: Ie93fdb724aa9593db076121c52e5e42ad772acf1