You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tldr: Should I make a PR to remove use of yapf's verify or to pin installing a specific version of yapf that supports it, like 0.40.1?
Howdy howdy! Thanks for semi-maintaining elpy (I know you don't really have the time now-a-days). yapfremoved support for the verify keyword which is currently used by yapfutil.py:fix_code(). I see two ways going forward on how to fix the resulting unexpected keyword argument error. Either pin the installed yapf to a version that supports the verify keyword or remove the usage of the verify keyword.
I'm partial to removing support for the verify keyword but I don't have the context you do.
The text was updated successfully, but these errors were encountered:
The way to go about it is to check the version of yapf and if its a version that supports it (eg version < 0.40.1) then passing the verify keyword is fine, otherwise omit it from being passed.
That way we minimize breaking projects that have an older version of yapf pinned.
tldr: Should I make a PR to remove use of
yapf
'sverify
or to pin installing a specific version ofyapf
that supports it, like0.40.1
?Howdy howdy! Thanks for semi-maintaining elpy (I know you don't really have the time now-a-days).
yapf
removed support for theverify
keyword which is currently used byyapfutil.py:fix_code()
. I see two ways going forward on how to fix the resulting unexpected keyword argument error. Either pin the installedyapf
to a version that supports theverify
keyword or remove the usage of theverify
keyword.I'm partial to removing support for the
verify
keyword but I don't have the context you do.The text was updated successfully, but these errors were encountered: