summaryrefslogtreecommitdiffstats
path: root/ci/pytests/lint.sh
blob: b6c0bfc1c0d931626e423afd451ca5188976ed04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

python3 -m flake8 --max-line-length=100 tests/pytests
FLAKE8=$?

ci/pytests/pylint-run.sh
PYLINT=$?

if [ $PYLINT -ne 0 ]; then
	exit 1
fi
if [ $FLAKE8 -ne 0 ]; then
	exit 1
fi

exit 0