Skip to content
Snippets Groups Projects
Unverified Commit f65eb274 authored by Newbyte's avatar Newbyte :snowflake:
Browse files

pyproject.toml: Add tool.mypy section (MR 2464)

And remove --check-untyped-defs from mypy.sh script to avoid
duplication.
parent 7269d05b
No related branches found
No related tags found
1 merge request!2464Add lots of type hints, fix some bugs, and clean up some code
......@@ -11,4 +11,4 @@ fi
set -x
pip install --break-system-packages --no-warn-script-location mypy
python -m mypy --color-output --check-untyped-defs pmbootstrap.py
python -m mypy --color-output pmbootstrap.py
......@@ -50,3 +50,5 @@ addopts = [
"--basetemp=.pytest_tmp"
]
[tool.mypy]
check_untyped_defs = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment