Here is an example that would be better if SonarQube was able to detect.
version_a = '2.4.10'
version_b = '2.10.1'
if version_b > version_a:
print(True)
else:
print(False)
According to Python, it returns False.
Here is an example that would be better if SonarQube was able to detect.
version_a = '2.4.10'
version_b = '2.10.1'
if version_b > version_a:
print(True)
else:
print(False)
According to Python, it returns False.