Commit Graph

17 Commits

Author SHA1 Message Date
Stephen Finucane 5a5cf72c64 mypy: Add boilerplate configuration
Add the requirement, tox job, and basic configuration.

Change-Id: I3a865255ee731a27a00e7653557099fb99096486
2020-02-12 09:56:58 +00:00
caoyuan 8955b48620 Clean up the unnecessary sphinx from test-requirements.txt
1. Clean up the unnecessary sphinx from test-requirements.txt
2. when run `tox -e docs` in localhost, some files will be
created, it not belong to the code, shoule be ignore by the git

Change-Id: I2bae30fedfdc64fbbafbe0e96794597b564c2d54
2019-07-07 11:59:49 +08:00
Natal Ngétal e91a16ece6 [Configuration] Clean up .gitignore files.
Fix the python compile files. Use the gitignore from the cookiecutter
project.

Change-Id: Ia8c2fd39e057967160825c672151f3132b2bf652
2019-01-24 09:48:23 +01:00
Hervé Beraud 915cec3784 Cleaning testrepository occurrences.
Since we have migrate test to stestr we can remove testrepository
from imports and stop to ignore him.

Change-Id: I74a24f19268d39dbce42963c95a9f06ca9b3f014
2019-01-15 17:13:04 +01:00
Rui Yuan Dou 819534b20b Migrating oslo.config to use stestr
os-testr has moved over to use stestr instead of testr. While this
is usually compaible with existing settings, there is a warning
that is emitted when .stestr.conf is not present. It is usually
able to fall back to parsing the .testr.conf file, but to be more
correct and to prevent future problems we should update the config.

Change-Id: I929f75d069f20b8cfa8af4e0712883e91a54dc4f
2019-01-15 16:15:34 +08:00
ZhongShengping 2298afed75 Clean up .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools.

To this end, remove the long-standing sections for "Mr Developer"
and "Editors" since their mere existence here sends the signal that
we welcome (and have time to review) additions for any old tool
someone ever might happen to try. Also add a comment block
explaining this, for clarity.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks called from tox,
documentation and packaging builds, et cetera).

This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb
from the openstack-dev/oslo-cookiecutter repository.

Change-Id: I5baba0f92e4272ba7e28f22ab6264651794ebf50
2018-10-15 11:56:20 +08:00
Ben Nemec 25926d2e2f Add * to .coverage in .gitignore
I'm seeing a bunch of .coverage.openstack.novalocal.29039.104933
files in my source directory after running unit tests.

Change-Id: I354c6a7e47d9267a48f117e1c7f73fcd9e7cc1fb
2016-04-12 17:19:12 +00:00
Alexis Lee 68d5def976 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Change-Id: Icab591ed1b12c1fd84c15f7b4a5d1d56d1d7588a
2016-02-22 11:28:17 +00:00
Ronald Bradford 86b76639ac Fix coverage configuration and execution
A number of configuration errors prevent the successful creation of code
coverage. This corrects the .coveragerc source/omit setup and the tox
package name generation.

http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html

Change-Id: I02ba7efe7e2de15fb68fae8d6c187065ac3c60ee
2015-10-05 17:20:49 -04:00
Matthew Treinish 006415f41b
Add sphinx extension to build sample config
This commit adds a sphinx extension which can be loaded in a sphinx
config.py to generate a sample config file using oslo-config-generator
during each sphinx build. This can then be incorporated into
documentation as necessary.

Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Change-Id: I2561155749fc8c6a8e31df1614ca6cdb50b4c001
2015-08-11 10:18:40 -04:00
Matt Riedemann 145d0050e1 Add *.egg* to .gitignore
Change-Id: Idd3e87f2f08df8e1c32e14655cc51066b16b21d7
2015-07-17 09:09:18 -07:00
Doug Hellmann 70c5b67df3 Move files out of the namespace package
Move the public API out of oslo.config to oslo_config. Retain the ability
to import from the old namespace package for backwards compatibility
for this release cycle.

bp/drop-namespace-packages

Change-Id: I56274336802036de050efc62eb2ee6b5d4ede77b
2014-12-12 16:13:29 -05:00
Luis A. Garcia d836c1f05a Add eclipse project files to .gitignore
Like some of the other projects (nova, heat) ignore eclipse
project files, for those people that work with eclipse (yuck :)

Change-Id: I803a5a9a4bf30dc053b3f3a260a69ce19f3a6c9b
2013-07-18 22:40:46 +00:00
Monty Taylor ef46c65837 Upgrade testing to use testr.
Change-Id: Ib0e73c125c908898735e60e5b435468bc2b08316
2013-05-03 17:26:07 -04:00
Dan Prince c64e72debf Add AUTHORS and ChangeLog to .gitignore.
Change-Id: Ic32a01978e2aab4028a5fbcbc70953603e5c6e2c
2013-02-19 14:44:27 -05:00
Mark McLoughlin 9805067bcf Add sphinx documentation
Add basic sphinx config and copy the theming from oslo-incubator which
was originally copied from keystone.

Change-Id: Ibb3b679ce6e160c157ff63f0943807bd82aa1a67
2013-02-09 17:32:02 -05:00
Mark McLoughlin 8c6a4c7523 Add oslo-config project infrastructure 2013-01-21 09:58:17 +00:00