RSPEC-1244 from sonar rules checks whether equality checks are made on floating point numbers, which often leads to non-deterministic results in tests.
This rule forms part of Sonar's Python scanner checks, which I've seen is open as a feature request.
Would it be possible to add this individual rule either as a one-off or as a starting point in porting sonar's rules over?
Keywords: RSPEC-1244, float, sonar
RSPEC-1244
from sonar rules checks whether equality checks are made on floating point numbers, which often leads to non-deterministic results in tests.This rule forms part of Sonar's Python scanner checks, which I've seen is open as a feature request.
Would it be possible to add this individual rule either as a one-off or as a starting point in porting sonar's rules over?