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

Various minor things

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
python

调研方向

将四个编号项目视为彼此独立的工作领域:Ruff 的 lint_external 文档、flake8 per-file-ignores 兼容性测试、一个 pre-commit 示例,以及通过 pull request #307 的 diff 处理 visitor102。首先查看链接的 Ruff 设置和 PR diff,然后找到每个领域现有的文档和测试。完成的标准是每个选定项目都有对应的文档、兼容性测试、示例或 visitor102 修复。

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

描述

documentation infrastructure rule improvement
  1. I thought it was somewhat doomed to use ruff+flake8-async, but after way too long stumbled upon https://docs.astral.sh/ruff/settings/#lint_external We should probably suggest using this in docs.

  2. flake8 --per-file-ignores works with our 5-character error codes... for now. We should add a test to see when they get around to running validation on it and break compatibility in another way.

    • I also started looking at adding an --per-file-disable to get around it and for running as standalone, and it should be fairly doable
  3. should add an example on how to run flake8-async through flake8 in pre-commit.

  4. fix visitor102: https://github.com/python-trio/flake8-async/pull/307/files#diff-4852409e79e4eb0f3736b0d3c6b6bfd8c2a14411b92416bc203a387dd6986829

主要语言
Python
星标
26
派生
10
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

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

python-trio/flake8-async 的其他 Issue

查看 python-trio/flake8-async 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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