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

Fix disabled LintableCollection lint checks being applied #3159

Closed
wants to merge 1 commit into from

Conversation

martinhoyer
Copy link
Collaborator

Resolves #3156

The problem was that while tmt.base.LintableCollection.resolve_enabled_linters() correctly resolved disabled checks, it proceeds to do the diabled checks anyway.

@engelmi Could you take a look please? If you have a better fix (and test), it would be appreciated ;)

@martinhoyer martinhoyer added command | lint tmt lint command code | trivial A simple patch - a couple of lines, an easy-to-understand change, a typo fix. labels Aug 20, 2024
@martinhoyer martinhoyer added this to the 1.36 milestone Aug 20, 2024
@martinhoyer martinhoyer self-assigned this Aug 20, 2024
@martinhoyer
Copy link
Collaborator Author

oh well, duplicate of #3158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code | trivial A simple patch - a couple of lines, an easy-to-understand change, a typo fix. command | lint tmt lint command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tmt: can't disable lint check G001
1 participant