Merge pull request #11899 from hauntsaninja:implicit-optional

PiperOrigin-RevId: 467687848
This commit is contained in:
jax authors 2022-08-15 09:28:25 -07:00
commit b90aa874c4
2 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class IreeClient:
def __init__(self,
*,
iree_backend: str = None):
iree_backend: Optional[str] = None):
self.platform = "iree"
self.platform_version = "0.0.1"
self.runtime_type = "iree"

View File

@ -1,6 +1,7 @@
[mypy]
show_error_codes = True
disable_error_code = attr-defined
no_implicit_optional = True
[mypy-absl.*]
ignore_missing_imports = True