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
Can't we redefine this validation? In some cases, having weight equal to zero may be useful.
For example, the blank lines metric from Radon, since it does not have any meaning by itself. Is only means something when compared to the total number of lines. Therefore, assigning a range for it may be confusing.
The text was updated successfully, but these errors were encountered:
I don't think they're particularly good or bad, but having at least a fraction of your code be blank lines means you probably have at least reasonable layout and separation between methods, classes, etc. For example, having 10 blank lines for 1000 code lines probably means something is a bit wrong.
Can't we redefine this validation? In some cases, having weight equal to zero may be useful.
For example, the
blank lines
metric from Radon, since it does not have any meaning by itself. Is only means something when compared to the total number of lines. Therefore, assigning a range for it may be confusing.The text was updated successfully, but these errors were encountered: