mmdetection: TypeError: FormatCode() got an unexpected keyword argument 'verify'

I get TypeError: FormatCode() got an unexpected keyword argument 'verify' when I try to download the config files for any model. This error occurs since the latest release of yapf v0.40.2, which was released on September 22, 2023. I am currently able to bypass this error by running pip install yapf==0.40.1. Please fix this bug.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 121
  • Comments: 19

Commits related to this issue

Most upvoted comments

Same issue, and pip install yapf==0.40.1 bybass it, thanks OP