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

main: fix list assembly of suppress #442

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

priv-kweihmann
Copy link
Owner

when passing --suppress=a --suppress=b into
the argparse instance, we would have gotten
weird results.
Fix that and also fully support having multiple
suppression as a space separated list passed
to the parser.
To avoid future regressions a test was added.

Co-authored-by: Angelo Compagnucci [email protected]

Pull request checklist

Bugfix

  • A testcase was added to test the behavior

New feature

  • A testcase was added to test the behavior
  • New functions are documented with docstrings
  • No debug code is left
  • README.md was updated to reflect the changes (check even if n.a.)

@priv-kweihmann
Copy link
Owner Author

@angeloc FYI - I made some more fixes to this functionality and added a test

oelint_adv/__main__.py Outdated Show resolved Hide resolved
@angeloc
Copy link

angeloc commented Oct 12, 2023

Nice!

Thank you, I was looking to adding the test but a bit short on time.

when passing `--suppress=a --suppress=b` into
the argparse instance, we would have gotten
weird results.
Fix that and also fully support having multiple
suppression as a space separated list passed
to the parser.
To avoid future regressions a test was added.

Co-authored-by: Angelo Compagnucci [email protected]
Signed-off-by: Konrad Weihmann <[email protected]>
@priv-kweihmann priv-kweihmann merged commit 2542421 into master Oct 12, 2023
4 checks passed
@priv-kweihmann priv-kweihmann deleted the fix/suppress-handling branch October 12, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants