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
Robocop reports following as [W] 1007 Line is over-indented (uneven-indent), but I think it should be allowed. The issue happens only when comments are placed on the last line of the file.
***TestCases***Test
[Documentation] docKeyword***Keywords***Keyword
[Documentation] thisisdocNoOperation# todo: do something# g
However, also this should be ok, like it is currently:
***TestCases***Test
[Documentation] docKeyword***Keywords***Keyword
[Documentation] thisisdocNoOperation# todo: do something# g# EOF
Operating System
Linux
Robocop version
2.3.0
The text was updated successfully, but these errors were encountered:
You're right. over/under indented rules are bit complicated right now - I've actually started some improvements (for #504 - to allow for strict checks). I will take a look if it's something I can also fix/improve.
I have actually fixed it without touching the logic - the problem lied in small (stupid) mistake with wrong range :) There will be the change to the uneven-indent (strict checks instead of "fuzzy" one right now) but it's separate topic for this fix - which will be included in the next release.
What happened?
Robocop reports following as
[W] 1007 Line is over-indented (uneven-indent)
, but I think it should be allowed. The issue happens only when comments are placed on the last line of the file.However, also this should be ok, like it is currently:
Operating System
Linux
Robocop version
2.3.0
The text was updated successfully, but these errors were encountered: