Set up repo infra/tools

This commit adds .gitignore and tox.ini files.

Change-Id: I16af12e129861bc4aee6fd1dd667b655e1841bf3
This commit is contained in:
Éric Lemoine 2016-06-06 12:06:53 +02:00
parent db683ef9d1
commit 224acdefc2
2 changed files with 86 additions and 0 deletions

69
.gitignore vendored Normal file
View File

@ -0,0 +1,69 @@
*.py[cod]
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
.eggs
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
cover
.tox
nosetests.xml
.testrepository
.venv
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Complexity
output/*.html
output/*/index.html
# Sphinx
doc/build
# oslo-config-generator
etc/*.sample
# pbr generates these
AUTHORS
ChangeLog
# Editors
*~
.*.swp
.*sw?
# Vagrant
.vagrant
vagrant/Vagrantfile.custom
vagrant/vagrantkey*
# generated openrc
openrc
# tests
tests/.cache/*

17
tox.ini Normal file
View File

@ -0,0 +1,17 @@
[tox]
minversion = 1.6
envlist = bashate,py27
skipsdist = True
[testenv:bashate]
# FIXME
commands = /bin/true
[testenv:py27]
deps =
docker-py
docker-compose
pytest
changedir={toxinidir}/tests
commands =
py.test -vv {posargs}