S5806: The 'function' keyword is not a built-in in Python 3

When writing python 3 code such as:

function = int

Sonar rule S5806 will flag function as a built-in keyword. The rule even links to the official python documentation but the official doc never mention this as being reserved AFAIK.

Links:

Hello @sodul ,

Thank you very much for reporting this issue.
We have created the ticket to fix the issue.

Thanks,
Maksim Grebeniuk