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 摘要。