mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 02:46:52 +00:00
Merge branch 'warning_contains_option' into 'master'
Fix the type= warning to contain the option name See merge request pycqa/flake8!405
This commit is contained in:
commit
14293cc973
1 changed files with 2 additions and 1 deletions
|
|
@ -205,7 +205,8 @@ class Option(object):
|
|||
LOG.warning(
|
||||
"option %s: please update from optparse string `type=` to "
|
||||
"argparse callable `type=` -- this will be an error in the "
|
||||
"future"
|
||||
"future",
|
||||
long_option_name,
|
||||
)
|
||||
type = _optparse_callable_map[type]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue