Skip to content

Commit f0403cf

Browse files
committed
Run mypy and bandit on setup.py
1 parent afbacf9 commit f0403cf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import glob
55
import os
66
import codecs
7-
from setuptools import setup, find_packages
7+
from setuptools import setup, find_packages # type: ignore
88

99

1010
def read(fname):

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,6 @@ deps =
157157
flake8 ~= 3.8.3
158158
mypy >= 0.790, < 0.800
159159
commands =
160-
bandit --recursive src
160+
bandit --recursive src setup.py
161161
flake8 setup.py src tests
162-
mypy src
162+
mypy src setup.py

0 commit comments

Comments
 (0)