-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[CodeStyle][F522] Remove unused arguments #46743
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
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -615,7 +615,7 @@ def is_dir(self, fs_path): | |||
return self._is_dir(fs_path) | |||
|
|||
def _is_dir(self, fs_path): | |||
cmd = "test -d {}".format(fs_path, redirect_stderr=True) | |||
cmd = "test -d {}".format(fs_path) |
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.
这里我怀疑是想将 redirect_stderr=True
插入到下一行的 _run_cmd
里,结果误插入到了这个 format
这里 😂,具体怎么改工作日讨论下吧,这里就先别动啦~
当然目前这么改是没有任何问题的,不会对现有代码造成任何影响~
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.
LGTM
可以更新下配置文件了 |
PR types
Others
PR changes
Others
Describe
Fix F522: remove unused arguments
Related Links
Flake8 tracking issue: #46039
配置文件更新: #47287
Fix: cattidea/paddle-flake8-project#54