-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use argparse
config handler on three checkers
#6124
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
Conversation
Blocked by #5921. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do the migration from python 3.6 now then.
We're still merging hot fixes. Still is a fairly trivial PR. I would be okay with waiting a bit. There is enough else for me to do! |
OK, after https://github.com/PyCQA/pylint/milestone/61 is closed then ? |
I'd say, let's wait a minimal week since last hotfix release. That gives people ample time to report any new issues. I agree with Marc, the change to |
We continuously release false positive fixes now so they won't be a last hotfix release. Do you mean the last one with crashes fixed inside it ?
I agree too, but the question is when do we release 2.14 and not ever hot fix python 3.6 anymore :) Depends on how blocked we are. There are maybe 4 MR now and 2.14 is close to 100 issues already (lots of documentation but still). So, I'm already considering releasing 2.14. |
Yeah, or false positives introduced by
If possible I would wait with |
46813e3
to
bfda1e3
Compare
argparse
config handler on five checkersargparse
config handler on foure checkers
argparse
config handler on foure checkersargparse
config handler on four checkers
custom_regex = getattr( | ||
self.linter.namespace, custom_regex_setting_name, None | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we handle this in the option parsing directly and not later with getattr ? I think it's not ideal as it's a delayed default value that put a little of option parsing inside checkers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These options are created dynamically for each name type we have.
We can probably define them in checker.options
but that's more a general refactor of this checker. By creating them dynamically we do remove a lot of duplication of the code though.
bfda1e3
to
dea6afa
Compare
argparse
config handler on four checkersargparse
config handler on three checkers
Pull Request Test Coverage Report for Build 2094531864
π - Coveralls |
Missing coverage is also missing on |
Type of Changes
Description