Skip to content

Commit 1a6d37f

Browse files
committed
Add linter
1 parent 4116bd1 commit 1a6d37f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

linter.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# flake8
2+
echo -e "[Begin flake8]\n"
3+
flake8 .
4+
echo -e "\n[End flake8]"
5+
6+
# mypy
7+
echo -e "[Begin mypy]\n"
8+
mypy --ignore-missing-imports --install-types .
9+
echo -e "\n[End mypy]"
10+
11+
# bandit
12+
echo -e "[Begin bandit]\n"
13+
bandit -r .
14+
echo -e "\n[End bandit]"

0 commit comments

Comments
 (0)