byarbrough / byarbrough/devoperable-python

Audit flake8 CI errors vs. warnings

未關閉
#2 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

#1 mentions that the flake8 in `workflows/lint.yml` may be overly permissive. This could result in bad code getting in.

- [ ] evaluate error on **F401** for unused imports
- [ ] evaluate error on **F841** for local variable assigned but unused

Note that pre-commit config already prohibits both of these.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先閱讀 workflows/lint.yml 和現有的 pre-commit 設定。比較 flake8 如何處理 F401 和 F841 與 pre-commit 已禁止的檢查,然後判斷是否需要調整 CI 設定。完成的條件是:這兩項檢查都有明確且有文件記錄的 CI 決策,且相關的 lint 設定一致。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
ci-cd, tooling
Issue 類型
重構
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。