Functions should not have too many lines of code Rule for Python

With the goal of bringing consistent code practices too all of our developed languages for our company it is mainly C#, Java and Python. we would like to see the “Functions should not have too many lines of code” S138

Be brought to Python like it is in both Java and C #

Hello @lukehammer !

Good news: we delivered very recently rule S138 (Functions should not have too many lines of code) for Python.

It’s already available on SonarCloud and it will be available in SonarQube 9.4

Note that S138 is not part of the default profile, so please make sure to activate it.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.