Skip to content

Commit

Permalink
Mark intentional class truthy assert as ignored in mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
smkent committed Nov 10, 2022
1 parent b60c5e8 commit 6e87030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_module.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def test_import() -> None:
import jmapc

assert jmapc.Client
assert jmapc.Client # type: ignore[truthy-function]
assert jmapc.methods
assert jmapc.models
assert jmapc.errors

0 comments on commit 6e87030

Please sign in to comment.