-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When using the # noqa: PBR008 comment to disable the boa PBR008 restrictor rule, it appears to only work when placed at the top of the test method. Inline usage (e.g., directly on a for loop inside the method) does not prevent the warning.



This becomes problematic in test cases with multiple for loops, where it would be more readable and maintainable to disable the rule only for a specific instance.
Additionally, if the for loop is wrapped in an any(...), the PBR008 warning isn't triggered at all. Is this expected behavior?

It would be helpful to:
-
Clarify whether inline # noqa: PBR008 is intended to be supported.
-
Know whether the lack of a warning when using any(for...) is by design.
Metadata
Metadata
Assignees
Labels
No labels