Commit Graph

14 Commits

Author SHA1 Message Date
Dmitry Tantsur 912e0a37e5 Move pep8 requirements to tox.ini
We don't need them for unit tests and they're not usually constrained.

Change-Id: Ib1f9235c339df02f2e8c27a46700c9fb1b4be826
2020-12-09 14:38:01 +01:00
Riccardo Pittau 442ae1a1f2 Set safe version of hacking
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.

Change-Id: I9230afbaa70afcfb4b21a4598d534143ce6a6f96
2020-10-19 13:47:39 +00:00
Steve Baker 62b8b1d8b9 Move metalsmith_instances from tripleo-ansible
Change-Id: I02407547154d8d6084fa30c5fe164c5b6a060043
2020-07-01 13:30:35 +12:00
Riccardo Pittau 5e2be52895 Upgrade flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.

Change-Id: Iff80cd27099a67048b9aab68f9d7ec9b4521a4d3
2020-05-06 18:34:41 +02:00
Dmitry Tantsur 90671a01e3 Get rid of testtools and fixtures
testtools was used to provide a smoother transition to Python 3.
fixtures seems no longer actively maintained and is mostly redundant.

Change-Id: I3fff3beafca13a783bcb4d5a811099ad491ac7ac
2020-05-04 11:19:58 +02:00
Sean McGinnis f6fb359cf5
Use unittest.mock instead of third party mock
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: I97af946c244559513689c1ea9ac2d736d55dbe0f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 16:05:36 -05:00
Riccardo Pittau b6d551ca74 Bump hacking to 3.0.0
Change-Id: I84304c494fdb9d8e9548a9f3a9af0de7558081cf
2020-03-30 16:52:41 +02:00
Dmitry Tantsur d12d966218 Switch to stestr for unit tests
Moves coverage to a separate test environment and CI job.

Change-Id: I94697ba41afbae194136202dfab349eb0367a125
2018-09-10 13:05:02 +02:00
Dmitry Tantsur c91a08fb16 Simple role to deploy instances
Story: #2002170
Task: #20029
Change-Id: I3fc0ea5144b83262a39593c8211bd88ce90e13f8
2018-06-11 11:01:08 +02:00
Dmitry Tantsur 804f0a7a3a Return Instance object from provisioning API
Change-Id: I2676ee281bfebb12abbb5702bcc6639526fe3189
2018-05-22 19:24:08 +02:00
Dmitry Tantsur 9f1b7755fc Grand refactor to split out reusable bits 2018-05-08 21:32:14 +02:00
Dmitry Tantsur 5b08c2658d Use modern hacking rules 2017-09-20 12:44:56 +02:00
Dmitry Tantsur 8d3f6973f0 Update from Pike requirements 2017-09-20 12:26:47 +02:00
Dmitry Tantsur 4ea236c786 Initial structure 2015-08-27 12:15:49 +02:00