Skip to content

Commit cd6bf64

Browse files
committed
Better docstrings on type tests (from @bpropert97)
1 parent 55dcb00 commit cd6bf64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typing_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The codebase is type-checked with `mypy src/` and tested with `pytest`, however neither of these explicitly check that `mypy` can infer the correct types for `Thing` attributes like properties and actions. The Python files in this folder are intended to be checked using:
44

55
```terminal
6-
mypy --warn-unused-ignores .\typing_tests\
6+
mypy --warn-unused-ignores typing_tests
77
```
88

99
The files include valid code that's accompanied by `assert_type` statements (which check the inferred types are what we expect them to be) as well as invalid code where the expected `mypy` errors are ignored. This tests for expected errors - if an expected error is not thrown, it will cause an `unused-ignore` error.

0 commit comments

Comments
 (0)