alteryx / alteryx/evalml

Decrease runtime of lint job

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

描述

#2670 introduced `pydocstyle` and `darglint` packages. The `darglint` package specifically increases the runtime of our lint job by a few minutes. While we were okay with this addition, I suspect that there's a way to cut down on this time. Some suggestions are:

- Find a way to only lint the changed files. @freddyaboulton mentioned that scikit-learn has a way to do so via bash script that might be worth exploring: https://github.com/alteryx/evalml/pull/2670#issuecomment-918578759
- Explore github pre-commit hooks, and only call the lint job on files modified (that are not test files, and .py files).

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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