Commit 4a3a6eb 1 parent b2a0598 commit 4a3a6eb Copy full SHA for 4a3a6eb
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,11 @@ in Python::
47
47
`allow gradual adoption of static type checking <https://mypy.readthedocs.io/en/stable/existing_code.html >`_,
48
48
the total cost of adding type annotations to a large extant codebase can be prohibitive.
49
49
50
- * Your library does enough dynamic things that type checking would be unlikely to help your users.
51
- Either you would have to spend a lot of effort redesigning your library in ways that static type
52
- checkers could better understand, or you'd have to invest a lot of effort into figuring out clever
53
- type annotations to twist the arms of type checkers.
50
+ * Your application uses a particularly dynamic framework or your library does enough dynamic things
51
+ that type checking would be unlikely to help your developers and users. Migrating application
52
+ frameworks could be costly. Either a) redesigning your library in ways that static type checkers
53
+ could better understand or b) figuring out clever type annotations to twist the arms of type
54
+ checkers would take a lot of effort.
54
55
55
56
* Your codebase has suffered at the hands of `Hyrum's Law <https://www.hyrumslaw.com/ >`_
56
57
and all possible observable behaviour is depended on. In order to avoid false positives for your
You can’t perform that action at this time.
0 commit comments