我的代码包含一个常规的try-except块。我下载了pycodestyle库以在我的代码上测试pep8。我测试了我的代码,并收到以下PEP8错误:
E722 do not use bare 'except'
为什么会发生这种情况,我该如何解决?谢谢。
python pep8
pep8 ×1
python ×1