From c2079180ce3d82480b22bece5c15c30e50b9deda Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sat, 15 Jul 2023 18:55:16 +0200 Subject: [PATCH] Actually correct mypy line --- CODING_STYLE.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODING_STYLE.rst b/CODING_STYLE.rst index 0a354f7..fce93e2 100644 --- a/CODING_STYLE.rst +++ b/CODING_STYLE.rst @@ -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 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 -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 in ``count: int = 0``. Again, think of the people reading the code, not the