[mypy]# Global options:warn_redundant_casts=truewarn_unused_ignores=truewarn_no_return=truewarn_return_any=truedisallow_untyped_defs=truedisallow_incomplete_defs=truecheck_untyped_defs=truedisallow_untyped_decorators=trueno_implicit_optional=truestrict_optional=truewarn_unreachable=truepretty=truecolor_output=trueshow_error_codes=true# Disable error-based exit code when finding code to improveno_error_summary=falseerror_summary=true# Allow files to import missing modules (helpful for stubs)ignore_missing_imports=true# Enable namespace packages widely used in Python 3namespace_packages=true# Resolve the packages from their sources. The editable install's import hook is invisible# to mypy, so without this a run on `tests` alone sees them as missing (hence Any), and its# cache then misleads the next full run into errors that are not there.mypy_path=packages/solver, packages/site, packages/webshell, packages/content# Enable type inference for installed packagesimplicit_reexport=false# Per-module options (more permissive for tests)[mypy.plugins.matplotlib.*]follow_imports=skip[mypy.plugins.numpy.*]follow_imports=skip[mypy.plugins.PIL.*]follow_imports=skip[mypy-tests.*]disallow_untyped_defs=falsedisallow_incomplete_defs=false# A test's stand-in records its calls with `lambda *a: calls.append(a)`; the None it# returns is the point, not a slip.disable_error_code=func-returns-value# Skip checking for installed packages we cant fix[mypy-twisted.*]ignore_missing_imports=truefollow_imports=skip[mypy-click.*]follow_imports=skip[mypy-matplotlib.*]follow_imports=skip[mypy-numba.*]follow_imports=skip[mypy-numpy.*]follow_imports=skip[mypy-PIL.*]follow_imports=skip[mypy-requests.*]follow_imports=skip[mypy-jinja2.*]follow_imports=skip