You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this checker is useful. The ratio is opinionated and there is no evidence that respecting the check will lead to code that's easier to understand or to maintain. It starts from the assumption that code with less docstrings or comments isn't as maintainable than code with them, which is from where the opinionated part comes from. Without having statistic evidence and a proper path to follow for the user in case it violates the rule, then it will bring more pain than solving any real problem. Following #746 I'm reticent to include checkers such as this one.
Originally reported by: Laura Médioni (BitBucket: lmedioni, GitHub: @lmedioni?)
A refactor message could be triggered when the ratio (comments + docstrings) / lines of code would be under a given limit.
The text was updated successfully, but these errors were encountered: