Remove the following collections of tools
analyze-oslo.sh, new_core.py, new_core_analyzer.py,
new_core_recruit.py
Used to handle identification and onboarding of new cores. Committed
in 2015 and likely unused in recent years.
apply_cookiecutter.sh
References "graduation" of oslo projects. Oslo Incubator is dead and
so is this.
dashboards/*, build_dashboards.sh
From 2015 and untouched so likely unused nowadays. Most of these are
available in the gerrit-dash-creator now.
clean_oslo_namespaces.sh
A remnant from the days we thought namespace packages were a good
idea. I miss those days...
clone_openstack.sh
Clones the entirety of OpenStack to your local drive. Seems
initially useful but references stackforge and untouched in years so
not really.
lint.py
Runs PyLint with our special flavor of settings. Initially replaced
by tox and now dead because PyLint is a PITA.
find_used_deleted_modules.py
Another reference to the incubator. Now dead.
remove-namespace-packages-project.txt
Describe the long-since-completed effort to drop namespace packages.
No references and therefore removable.
run_tests_common.sh, with_venv.sh, install_venv.py,
install_venv_common.py
All replaced by tox for, well, everything nowadays.
colorizer.py
No users after everything else is removed.
virtual_sprint.py
Sends an email about a virtual sprint. No one's using this anymore
and it was last modified in 2014.
Change-Id: I6c5bd16dcfacdd816caf568f30e55451acf03ae1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Fixed violations:
* E128 continuation line under-indented for visual indent
* E251 unexpected spaces around keyword / parameter equals
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
* F402 import shadowed by loop variable
* H305 imports not grouped correctly
* H307 like imports should be grouped together'
* H402 one line docstring needs punctuation'
* H703 Multiple positional placeholders
Also enabled H803 check that didn't have any violations.
Change-Id: I957ab273ddc61b02763d6b60b21d11ed4e73d472
In Python 3, some data structures' attribute is different in Python 2.
See http://pythonhosted.org/six/#object-model-compatibility
This is change mapping:
six Python 2 Python 3
six.next(it) it.next() next(it)
six.iterkeys(dict) dict.iterkeys() dict.keys()
six.itervalues(dict) dict.itervalues() dict.values()
Implements: blueprint make-python3-compatible
Change-Id: Ida48f39ff230860feee7305b93b134c625a21663
No need to set tabstop 189 times, this can be set in your vimrc file
instead. Also if set incorrectly gate (pep8 check) will catch your
mistakes.
Change-Id: Ic6f0c0ef94e8194a5c121598305d1ec3c74e4843
Moved Nova `./run_tests.sh` script to `tools/run_tests_common.sh` file.
This script run unit-tests and can be reused in other projects.
Added script `./run_tests.sh` with project specific variables to run
`tools/run_tests_common.sh` script.
Added required `tools/*` files for pretty colorizer outpoot.
Modified `tests/utils.py` file - added work with OS_TEST_TIMEOUT,
OS_STDOUT_CAPTURE and OS_STDERR_CAPTURE environment variables from .testr.conf
blueprint run-tests-script
Change-Id: I057e8cf2c74d160402cb881fc761623c74905b7e