mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 00:58:32 +02:00
29 lines
622 B
Python
29 lines
622 B
Python
import subprocess
|
|
import sys
|
|
|
|
modules = [
|
|
"stegano/tools.py",
|
|
"stegano/lsb/lsb.py",
|
|
"stegano/lsbset/lsbset.py",
|
|
"stegano/lsbset/generators.py",
|
|
"stegano/red/red.py",
|
|
"stegano/exifHeader/exifHeader.py",
|
|
"stegano/steganalysis/parity.py",
|
|
"stegano/steganalysis/statistics.py",
|
|
]
|
|
|
|
exit_codes = []
|
|
for module in modules:
|
|
rc = subprocess.call(
|
|
[
|
|
"mypy",
|
|
"--ignore-missing-imports",
|
|
"--check-untyped-defs",
|
|
"--follow-imports",
|
|
"skip",
|
|
module,
|
|
],
|
|
)
|
|
exit_codes.append(rc)
|
|
|
|
sys.exit(max(exit_codes))
|