summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 41585f5..40543a3 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -63,6 +63,11 @@ run_git_check(){
gitlint
}
+run_lint_check(){
+ echo "Running pylint..."
+ pylint gitlint qa --rcfile=".pylintrc" -r n
+}
+
run_stats(){
echo "*** Code ***"
radon raw -s gitlint | tail -n 6
@@ -169,6 +174,11 @@ if [ $just_git -eq 1 ]; then
exit $?
fi
+if [ $just_lint -eq 1 ]; then
+ run_lint_check
+ exit $?
+fi
+
if [ $just_all_env -eq 1 ]; then
run_tests_in_all_env
exit $?