diff options
author | Rob Mohr <mohrr@google.com> | 2022-10-20 21:03:29 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-20 21:03:29 +0000 |
commit | 291f4c8608bfd1d29af63ba84f157cf9cf694b23 (patch) | |
tree | da87eb82ab45e26ae194c0b592308af85e2fef81 /pw_stm32cube_build | |
parent | f8d6a8036227e5c3e3f64c6c1ae978ddba22e2ab (diff) | |
download | pigweed-291f4c8608bfd1d29af63ba84f157cf9cf694b23.tar.gz |
python: Start enforcing mypy --no-implicit-optional
Also, add mypy.ini for each module.
Change-Id: Ied1d0dc990beb6436b35c5bc0cbbfbcd5aa3b9e0
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/115373
Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'pw_stm32cube_build')
-rw-r--r-- | pw_stm32cube_build/py/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pw_stm32cube_build/py/BUILD.gn b/pw_stm32cube_build/py/BUILD.gn index 04c2c9526..c69c513f8 100644 --- a/pw_stm32cube_build/py/BUILD.gn +++ b/pw_stm32cube_build/py/BUILD.gn @@ -36,4 +36,5 @@ pw_python_package("py") { "tests/inject_init_test.py", ] pylintrc = "$dir_pigweed/.pylintrc" + mypy_ini = "$dir_pigweed/.mypy.ini" } |