Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

"Contributing" doc to suggest running flake8 locally

未关闭 适合新手
#2,637 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
技术栈
markdown, python
领域
documentation

调研方向

需要修改的页面是贡献指南 docs/sphinx/source/contributing/how_to_contribute_new_code.rst,issue 从 readthedocs 站点链接到了该页面。请找到现有文本中介绍运行测试和代码检查(linting)的位置,并添加一个简短的小节,说明如何使用项目 CI 所用的命令在本地运行 flake8。完成的标准是:指南能告诉贡献者在推送前如何运行 flake8,并且文档构建时没有警告。

由索引模型根据 Issue 内容生成。

描述

question

Is your feature request related to a problem? Please describe.
I find myself depending on pvlib GitHub CI to see if my pull request complies with flake8 (and having to iterate with additional commits and pushes).

Describe the solution you'd like
Would be nice to find in the Contributing doc a recommendation to test code flake8-wise locally before pushing it online (+ instructions on how to do it).

Additional context
Don't know if there are any other structural tests that would make sense (and be easy to implement) locally.

主要语言
Python
星标
1.7k
派生
1.2k
平均合并
3 天 18 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pvlib/pvlib-python 的其他 Issue

查看 pvlib/pvlib-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。