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

Enforce "black" code style

未关闭
#870 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
tooling

调研方向

首先阅读相关 issue #294 以及仓库现有的开发和格式化配置。制定一个 rollout,在不对正在进行的 pull request 造成不必要干扰的情况下,强制执行已达成一致的 Python 格式化风格;当该方案及其范围完成文档化并得到一致应用时,即视为完成。

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

描述

technical debt usability

related to https://github.com/Open-EO/openeo-python-client/issues/294

This seems to become more an more an issue: this project does not enforce a code formatting style, but in the Python ecosystem there is now a pronounced gravity towards black/ruff format.
A lot of people (myself included) have set up their development environment to automatically apply this code style (or at least partially), but this causes issues with signal/noise ratio in PRs.

I have been reluctant to do a big bang reformat of the code, as this would break all ongoing pull requests,
but lately I've noticed that not fully following the black code style is causing more problems.

主要语言
Python
星标
219
派生
58
平均合并
2 天 19 小时
30 天内合并 PR
10

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

Open-EO/openeo-python-client 的其他 Issue

查看 Open-EO/openeo-python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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