Nyakku Shigure
Nyakku Shigure
### PR types Others ### PR changes Others ### Describe - Flake8 tracking issue: #46039 修复 F401 unused import 存量 python 代码 初步尝试一些可行性
## 项目说明 用于跟踪 [Call-for-Contributions: Flake8 引入计划](https://github.com/PaddlePaddle/community/blob/master/pfcc/call-for-contributions/code_style_flake8.md) 及相关 CodeStyle 升级各个任务的计划和进度 部分针对任意文本的代码风格全量修复需要同样为如文档(`.md`、`.rst`)、C++ 相关文件(`.cc`、`.c`、`.h`、`.cu`、`.cpp`、`.cmake`、`CMakeLists.txt`)一并修复 ## 项目初始状态 以 Flake8 默认配置为准,一共 121 个子项。Paddle 中存在问题的子项共 70 个。 - 错误码参考: - E、W:[PyCodeStyle Error code](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes) - F:[Flake8 Error...
### PR types Others ### PR changes Others ### Describe - Flake8 tracking issue: #46039 添加 remove-tabs pre-commit hook,以自动删除 tab,并且移除 Flake8 配置中 ignore 的 W191 和 E101 错误码 本 PR...
### PR types Others ### PR changes Others ### Describe - Flake8 tracking issue: #46039 修复 `remove-tabs` 存量 python 代码(`'\t'` -> `' ' * 4`) 并修正部分格式问题 本 PR 仅针对 `python/paddle/fluid/tests/`...
### PR types Others ### PR changes Others ### Describe - Flake8 tracking issue: #46039 修复 `remove-tabs` 存量 python 代码(`'\t'` -> `' ' * 4`) 本 PR 仅修复 NPU 单测的问题,触发...
### PR types Others ### PR changes Others ### Describe - Flake8 tracking issue: #46039 修复 `remove-tabs` 存量 python 代码(`'\t'` -> `' ' * 4`) 并修正部分格式问题 fluid 单测拆分到 PR #46357...
- [x] 清理 `six` 使用 - [x] 清理 `six` 相关提及 - [x] 清理 `six` 依赖项 - [x] 清理 `__future__` 使用 需等待主框架 `six` 全面清理后 merge
### PR types Others ### PR changes Others ### Description #61207 明明已经删掉了,结果 #60860 应该是解决冲突出问题了导致这个文件又回来了……… PCard-66972
### PR Category Execute Infrastructure ### PR Types Bug fixes ### Description #60963 将 `SliceArrayOp` attributes 变为输入的时候忘记将 `attributes_num` 一并改为 0 了 :joy:,导致 #63960 暴露了本问题 PCard-66972