We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2b203 commit b127d04Copy full SHA for b127d04
doc/whatsnew/fragments/10621.new_check
@@ -0,0 +1,7 @@
1
+Add a ``use-math-not-float`` message. float("nan") and float("inf") are slower
2
+than their counterpart ``math.inf`` and ``math.nan`` by a factor of 4 and they
3
+are also not well typed when using mypy.
4
+
5
+The :ref:`pylint.extensions.code_style` need to be activated for this check to work.
6
7
+Refs #10621
0 commit comments