Skip to content

Commit

Permalink
Merge pull request #11899 from hauntsaninja:implicit-optional
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 467687848
  • Loading branch information
jax authors committed Aug 15, 2022
2 parents 3780024 + ed7f4a7 commit b90aa87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/iree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[mypy]
show_error_codes = True
disable_error_code = attr-defined
no_implicit_optional = True

[mypy-absl.*]
ignore_missing_imports = True
Expand Down

0 comments on commit b90aa87

Please sign in to comment.