File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 16
16
if ! poetry run flake8 " ${cur_file} " --count --max-line-length=88 --show-source --ignore=E203; then
17
17
exit_code=1
18
18
fi
19
+
20
+ printf " Checking with mypy:\n"
21
+ if ! poetry run mypy " ${cur_file} " ; then
22
+ exit_code=1
23
+ fi
19
24
done
20
25
21
26
if [[ ${exit_code} -eq 0 ]] ; then
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " string-to-code"
3
- version = " 0.2.0 "
3
+ version = " 0.2.1 "
4
4
description = " Generates a piece of messy code in a given language displaying a given string "
5
5
authors = [
" piotr.idzik <[email protected] >" ]
6
6
readme = " ./string_to_code/README.md"
@@ -22,6 +22,7 @@ pylint = ">=2.0"
22
22
flake8 = " >=5.0"
23
23
coverage = " >=6.0"
24
24
black = " >=21.0"
25
+ mypy = " >=1.4"
25
26
26
27
[build-system ]
27
28
requires = [" poetry-core" ]
You can’t perform that action at this time.
0 commit comments