Skip to content

Commit

Permalink
Add type hints to pl_bolts/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Dec 8, 2020
1 parent 02feab9 commit d402ad5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pl_bolts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
try:
# This variable is injected in the __builtins__ by the build process.
# It used to enable importing subpackages when the binaries are not built.
__LIGHTNING_BOLT_SETUP__
__LIGHTNING_BOLT_SETUP__: bool
except NameError:
__LIGHTNING_BOLT_SETUP__ = False

Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ files = pl_bolts, tests
disallow_untyped_defs = True
ignore_missing_imports = True

[mypy-pl_bolts.*]
ignore_errors = True

[mypy-pl_bolts.callbacks.*]
ignore_errors = True

Expand Down

0 comments on commit d402ad5

Please sign in to comment.