Paddle
Paddle copied to clipboard
[CodeStyle] add pre-commit hook `remove-tabs` for python files
PR types
Others
PR changes
Others
Describe
- Flake8 tracking issue: #46039
添加 remove-tabs pre-commit hook,以自动删除 tab,并且移除 Flake8 配置中 ignore 的 W191 和 E101 错误码
本 PR 仅针对 python 相关文件
全局忽略第三方库 gast(#34556 引入),remove-tabs 配置忽略一些单测必须要 tabs 的文件