summaryrefslogtreecommitdiff
path: root/tools/check_source.sh
blob: de8c790762ba2de8a27f0fc68e8b2a7d88ee07d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh


set -euf


script="$(realpath "$0")"
tools="$(dirname "$script")"
root="$(dirname "$tools")"


black "$root"
mypy --strict "$root"
flake8 "$root"
pytest "$root"