Actually correct mypy line

topo_v3
LEdoian 1 year ago
parent 9e201559f9
commit c2079180ce

@ -28,7 +28,7 @@ primarily by people, not by computers. Do not reorder the code or add weird
comments just to make mypy happy. Instead, just add something like ``# fuck comments just to make mypy happy. Instead, just add something like ``# fuck
mypy vX.Y.Z`` to notify the programmer that it disagrees. In this case, always mypy vX.Y.Z`` to notify the programmer that it disagrees. In this case, always
add the version of broken type checker. (Comments like ``# mypy add the version of broken type checker. (Comments like ``# mypy
ignore[import]`` are distracting and may be too cryptic for people.) ignore=import`` are distracting and may be too cryptic for people.)
There is no need to add hints to everything. Do not add superfluous hints, like There is no need to add hints to everything. Do not add superfluous hints, like
in ``count: int = 0``. Again, think of the people reading the code, not the in ``count: int = 0``. Again, think of the people reading the code, not the

Loading…
Cancel
Save