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

Add -W enabling warnings #19843

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

szymon-rd
Copy link
Contributor

@szymon-rd szymon-rd commented Mar 1, 2024

Add -W

@szymon-rd szymon-rd force-pushed the add-w-enable-lint branch 3 times, most recently from 3b400b5 to 5e5e390 Compare March 8, 2024 12:21
@SethTisue
Copy link
Member

fyi @som-snytt

@Linyxus
Copy link
Contributor

Linyxus commented Apr 22, 2024

So #18559, which this PR intends to implement, was assigned to me in this release cycle. So just wanted to check what is the status of this PR? Is it blocked?

@@ -105,15 +110,22 @@ object Settings:
def isMultivalue: Boolean = summon[ClassTag[T]] == ListTag

def acceptsNoArg: Boolean = summon[ClassTag[T]] == BooleanTag || summon[ClassTag[T]] == OptionTag || choices.exists(_.contains(""))

s"\n- $name${if description.isEmpty() then "" else s" :\n\t${description.replace("\n","\n\t")}"}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be an unused string value

@szymon-rd
Copy link
Contributor Author

szymon-rd commented Apr 22, 2024

@Linyxus not blocked, just needs to be finished and merged. I probably won't be able to do that in upcoming 2 weeks, but afterwards I may sit down to it I think. If you want to finish it, go ahead. Just keep in mind that sole -W was previously printing the help, so we may want to keep that behaviour - -X, -Y, etc do the same.

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.

3 participants