Closed fialsha closed 1 month ago
It sounds like a bug I fixed 2 weeks ago but didn't release it yet (#1101). I will do the release now and you can update the thread later if the issue was fixed or not.
Released Robocop 5.4.0
This issue was fixed in 5.4.0 version. Thank you!
What happened?
Robocop throws unjustified W0326 (mixed-task-test-settings) warning on following file:
What command/code did you try to run?
robocop
What is the full error message?
tasks/init.robot:4:1 [W] 0326 Use test-related setting 'Test Tags' if Test Cases section is used (mixed-task-test-settings)
What did you expect to happen instead?
Task Tags should be allowed for init.robot files which doesn't contain neither Test Cases nor Tasks sections.
Operating System
Linux
Robocop version
5.3.0