Skip to content

Commit

Permalink
mypy doesn't like module level properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoran56 committed Jan 5, 2024
1 parent 323254f commit 7727a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
strict_concatenate = True
extra_checks = True

[mypy-esper]
disallow_untyped_defs = True
disallow_untyped_calls = True

[mypy-tests]
check_untyped_defs = True
check_untyped_defs = True
2 changes: 1 addition & 1 deletion esper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def switch_world(name: str) -> None:
_current_context = name


@property
@property # type: ignore
def current_world() -> str:
"""The currently active World context.
Expand Down

0 comments on commit 7727a78

Please sign in to comment.