Initial commit
Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com> Change-Id: I124b54b5068fbcd46e278281da12ea27f0034d1f
This commit is contained in:
Sébastien Han
committed by
Deepak C Shetty
parent
e36f586eb5
commit
27d28f3101
8 changed files with 1065 additions and 0 deletions
25
tox.ini
Normal file
25
tox.ini
Normal file
@@ -0,0 +1,25 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = bashate
[testenv]
usedevelop = False
install_command = pip install {opts} {packages}
[testenv:bashate]
deps = bashate
whitelist_externals = bash
commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
-not \( -type d -name doc -prune \) \ # skip documentation
-type f \ # only files
-not -name \*~ \ # skip editors, readme, etc
-not -name \*.md \
\( \
-name \*.sh -or \
-name \*rc -or \
-name functions\* -or \
-wholename \*/lib/\* \ # /lib files are shell, but
\) \ # have no extension
-print0 | xargs -0 bashate -v"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.