flame/check_code
Yves-Gwenael Bourhis e798119841 Addapted flame to openstacksdk and shade.
Flame needed pemanent adjustments to mathe the changes in the
python-openstackclients. We now use openstacksdk or shade which will
handle themselves the compatibility.

We also made flame modular so that any-one can add features by
implementing there own flame managers and adding their modules to
the `openstack_flame` entry point.

This new flame version is also fully compatible with python 3.

Change-Id: I586a165b5022031963f504874bd50e1b11fe0d27
2018-11-22 11:50:41 +01:00

13 lines
294 B
Bash
Executable File

#!/usr/bin/env bash
CURDIR=$(pwd)
SELFDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd $SELFDIR
python -m flake8 flameclient
if [[ $1 = '-v' ]]; then
python -m pylint --rcfile=pylintrc --reports=yes flameclient
else
python -m pylint --rcfile=pylintrc flameclient
fi
cd $CURDIR