File: pre-push-tests.sh

package info (click to toggle)
gajim 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 30,700 kB
  • sloc: python: 88,700; sh: 310; lisp: 58; makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# exit when any command fails
set -e

GREEN='\033[0;32m'


./scripts/dev/pylint-ci.sh gajim
echo "${GREEN}pylint: \t OK"
mypy gajim
echo "${GREEN}mypy: \t\t OK"
codespell -I codespell.conf --skip="*__pycache__*,gajim/data/icons,gajim/data/sounds,gajim/data/emoticons" gajim
echo "${GREEN}codespell: \t OK"
echo "${GREEN}ready to push"