Unverified Commit 5e32859a authored by Hongtao Zhang's avatar Hongtao Zhang Committed by GitHub
Browse files

Lint: Enhancement of ignoring errors for import pkg_resources (#692)



This enhancement addresses an issue in mypy where it may report missing
pkg_resources even when ignore_missing_imports = True is set and the
package is installed. Adding this configuration ensures that
pkg_resources is properly skipped during type checking.
Co-authored-by: default avatarhongtaozhang <hongtaozhang@microsoft.com>
parent 300df46b
...@@ -3,3 +3,6 @@ exclude = build/ ...@@ -3,3 +3,6 @@ exclude = build/
ignore_missing_imports = True ignore_missing_imports = True
scripts_are_modules = True scripts_are_modules = True
warn_return_any = True warn_return_any = True
[mypy-pkg_resources]
ignore_missing_imports = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment