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

Provide sort_warnings_by attribute to sort warnings #81

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

InderKumarRathore
Copy link
Contributor

@InderKumarRathore InderKumarRathore commented Oct 21, 2023

Problem

In our code base we keep on deprecating the APIs and because of that the warning result is huge. And with GitHub's max issue comment size we can't see all the warnings and it's hard to find non deprecated warnings in the code with that huge list of warnings. Thus we miss important warning because of deprecated ones.

Solution

Provide a sort_warnings_by block that sorts the warnings, and with the help of this we can keep important warnings on top and less important warnings at the bottom

@InderKumarRathore InderKumarRathore force-pushed the sorted-warnings-new branch 2 times, most recently from 4e6b594 to 96bc409 Compare October 21, 2023 04:35
@InderKumarRathore
Copy link
Contributor Author

@diogot did you get chance to review it.

@diogot
Copy link
Owner

diogot commented Feb 14, 2024

Hi @InderKumarRathore, can you rebase and update? I'll merge it once the tests pass.

@diogot diogot merged commit d677c48 into diogot:master Feb 14, 2024
1 check passed
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