Skip to content

Commit 8f1456c

Browse files
committed
update details about type safety
1 parent e719d54 commit 8f1456c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,14 @@ The project currently uses pyright for development, and both pyright and mypy
9393
when ensuring the public api surface is well-typed and compatible with strict
9494
use of typechecking. The configurations used are in pyproject.toml.
9595

96-
Use of Any in a few places is *intentional* for internals.
96+
While compatible with strict interpretations of python's type system,
97+
both pyright and mypy enable checks that are not type errors in their
98+
strict modes. See the configurations mentioned for more detail.
99+
100+
In particular, `pyright --verifytypes async_utils --ignoreexternal`
101+
should report zero ambiguous or unknown public types.
102+
103+
The use of Any in a few places is *intentional* for internals.
97104

98105
### 5. Threading and multiple event loops
99106

0 commit comments

Comments
 (0)