Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In excluding specific rules for .robot files, it also excludes the rules in .resource files. #1008

Open
Apolayo27 opened this issue Dec 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Apolayo27
Copy link

What happened?

The issue stems from the fact that when specific rules are excluded for files with the extension .robot, these exclusions unintentionally apply to files with the extension .resource as well. The expected behavior would be to exclude rules only for .robot files while leaving .resource files unaffected.

[tool.robocop]
filetypes = [".robot"]
exclude = [
"wrong-case-in-keyword-name",
]

What command/code did you try to run?

robocop modules/fist/helpers/keywords/element_content.resource

What is the full error message?

no error message

What did you expect to happen instead?

No response

Operating System

Mac OS

Robocop version

4.2.1

@Apolayo27 Apolayo27 added the bug Something isn't working label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant