Skip to content

Commit b127d04

Browse files
Add changelog
1 parent 2a2b203 commit b127d04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)