Commit Graph

29 Commits

Author SHA1 Message Date
lhinds 93aacb43e6 Retiring Project
http://lists.openstack.org/pipermail/openstack-sigs/2018-August/000481.html

Depends-On: 90ca23f2ef5bf2cfdaf63552a7d8d8be325a03e6

Change-Id: I9ebc8cfcbb8906e9c4e1fd9e91205fe364bdc3c9
2018-08-28 09:41:53 +01:00
Jenkins 3892a61c2d Merge "Enable DeprecationWarning in test environments" 2017-02-20 14:22:19 +00:00
avnish 88af8f9921 Enable DeprecationWarning in test environments
Many deprecations are triggered early (on imports, for example).
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.

Change-Id: Ib61fa1f8dfdf0aa4c0e23d7472058244d6b66c53
2017-02-07 12:33:30 +05:30
Eric Brown 1eb0157271 Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: I03caf829a7b1a07345bb29f07629c575fdab22a9
2017-01-09 10:02:45 -08:00
Jenkins 4ef398c001 Merge "Add Python 3.5 classifier and venv" 2016-09-06 17:19:24 +00:00
Rahul 338dbdfb6f Fixes jenkins failing on coverage report generation
Jenkins was failing when coverage report was getting gererated
as coverage combine deletes the reports and essentially and thus
was failing with the message no data found. This patch fixes it

Change-Id: I83ba65eff80181f06e712ea0a75e97919edf50ae
2016-08-04 00:04:39 -05:00
Eric Brown 5066629ada Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: If31d87617e59c1fd59da183ac56148d32ef54b6d
2016-07-09 22:35:04 -07:00
Eric Brown 15bbe5cd7d Add bandit to pep8 venv
Bandit is considered a linter much like pep8. So by request from
the infra team, the bandit job is being made part of pep8 venv.
The bandit testenv needs to stay however for the bandit integration
job.

Change-Id: I83d27217a9ffe8a882342442072272a250eb818c
2016-03-09 12:39:12 -08:00
Eric Brown 21fbd2caee Remove bandit.yaml in favor of default config
Latest g-r version of bandit does not require a bandit.yaml any
longer. This removes the bandit.yaml and the anchor gate profile
(which was not part of a gate job).

Change-Id: I1f6f9b8590f44e15662ea2f4212fbd68c072e422
2016-02-21 00:38:14 -08:00
Eric Brown 1cd6e07b68 Correct the bandit test dependency
Anchor currently fixes the version of bandit to use as 0.10.0.
And because it was in a separate test-bandit-requirements.txt file,
the OpenStack proposal bot never updated it.

This change removes the separate file and merges into regular test
requirements.  As a result, bandit version will jump to 0.17.3

Change-Id: I0988f603d20a2bd21928d1bf009e32db901168a2
2016-02-04 11:32:43 -08:00
Stanisław Pitucha b8c76c0739 New asn1 modules for CMC support
Asn1 modules are autogenerated and not covered by pep8

Change-Id: I7a4e9c308001ed3051e68d2a27e454977f6e787b
2016-01-28 02:46:44 +00:00
Stanisław Pitucha c813864421 Enable branch coverage reporting
Additionally remove coverage files before the run, because they're not
compatible with standard coverage results and could cause failures.

Change-Id: I5937ed1b04bda0741b41972808107829f589ec9e
2015-11-05 16:31:44 +11:00
Stanisław Pitucha 33a21b9f71 Remove coverage files after each run
Coverage files should be erased after every run. Otherwise different
versions of python may try to generate conflicting versions of the
.coverage file and fail to report.

Coverage can still be run separately using tox's coverage target. It
will leave the files behind.

Change-Id: I7d1a4e9bb8195f331d8078fd45d65deae2175ff9
2015-10-20 11:29:57 +11:00
Stanisław Pitucha a40c3bea7d Fix all the doc build paths
Ignore the new doc build directory and make sure tox builds to the same
place setup does.

Change-Id: I800f7d563b97b6a1a202b6e147b6ede190cb25c6
2015-09-21 12:15:45 +10:00
Robert Clark 6040112312 Changes to allow sphinx to build correctly
This should allow our documentation to post to
http://docs.openstack.org/developer/anchor

Running locally both pass:
python setup.py build_sphinx
tox -e venv python setup.py build_sphinx

"tox -e docs" still works and you can run
that if you desire.

"tox -e venv python setup.py build_sphinx"
is what's required to work by infra so that
documentation can be built upstream and
published to the developer documentation pages.
It also allows the documentation jobs to run in
the gate so that documentation is built at
review time.

Change-Id: If67961a1b68223ed4ca002037cb7e8c6a51fbe3e
2015-09-04 08:48:44 -07:00
Stanisław Pitucha a7ce75d8a5 Add stub for Sphinx documentation
`tox -e docs` will both generate and validate the documentation. The
documentation itself needs to be completed over time.

Change-Id: I2eb790a014f9b4838cfa64054a7d99d9bd339c6a
2015-07-29 17:18:39 +10:00
Jenkins cc98c34191 Merge "Finalise py34 compatibility" 2015-07-29 03:06:16 +00:00
Tom Cocozzello 7322d0dc7c Activate pep8 check that _ is imported
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.

Activating this check did not flag any violations.

Change-Id: I8a263df35307324804f8d679f9b72339d82df2b7
2015-07-27 08:40:05 -05:00
Stanisław Pitucha 394069f62d Finalise py34 compatibility
Remove final issues and enable py34 environment in tox.
Two lines need #noqa tags due to `file` losing the built-in status
in python3.

Change-Id: Id8482647e28e1cb8cbf99ccb2208d78a32dc439c
2015-07-22 16:46:19 +10:00
Tim Kelsey e6e091f761 Adding Bandit gate test scaffolding
Initial bits n bobs to get a working Bandit test env for tox, we
can tweek this going forward to tune our test Bandit tests etc

This is not run as part of the normal tox command, run it with
tox -e bandit

Change-Id: I257b0ac335929ad09c43f5753feaab10c269d232
2015-04-17 09:25:29 +01:00
Bryan D. Payne f972213a42 Remove remaining ignores for flake8
- cleanup code throughout to pass tests

Change-Id: I3a2a0f79940924dc954051b8fea0497a43579e98
2015-02-20 09:11:35 -08:00
Bryan D. Payne 073cec09db Make tox flake8 setup a little more strict
- enable line length checking
- enable function complexity checking

co-authored-by: Tim Kelsey <tkelsey@hp.com>

Change-Id: Ic853e49327305474a5ef948f6b63b011a5cb3703
2015-02-20 16:48:54 +00:00
Tim Kelsey 7954b8a742 Tox now also runs PEP8 on test code
Change-Id: I3bc67522d303ab2e4fbe960c05bf536e72c5ffe6
2015-02-17 21:31:56 +00:00
Terry Howe 6b71bcdfa4 Disable py33 testing for now and reorder tests
There are a lot of changes needed to support py33, so it would
be a lot easier to just discontinue support for the time being.
I reorded the tests to avoid an incompatibility when pypy and
py27 in the .testrepository directory.  If pypy is run first,
the tests run successfully.

Change-Id: Ia03fb203974c7956f00c768a52ba9443c004a6c3
2015-02-04 13:49:13 -07:00
Tim Kelsey 71f09ff765 Adding test coverage reporting
Change-Id: I914be18046883b6b19526af4edc7c954b7e46f49
2015-01-14 11:04:35 +00:00
Tim Kelsey 4b5e0bb7d1 Re-enabling more pep8 tests and bringing code inline
Change-Id: Ib2a6b6c59a0f231a41cc7b865be615596287075c
2015-01-09 13:02:09 +00:00
Tim Kelsey 9eada1323e Bringing Anchor project setup inline with OpenStack
- Adding scaffolding for testing (PEP8 mostly disabled for now)
- Adding requirments lists

Change-Id: I7b585a1e30c473df089ba508099af159e432cc78
2015-01-08 14:20:38 +00:00
Stanislaw Pitucha fcebb72473 Add tox configuration to check the sources
Change-Id: Idc2722e56897c541256e15c850187fe6ecc2eeb3
2014-08-20 17:25:26 +01:00
Stanislaw Pitucha 4ed8eac25c Add flake8 rules for line length 2014-04-04 18:24:15 +01:00