Use upstream black

未關閉
#684 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 7 天內回覆

@dhruvarayasam 已經在處理了。

開始於 2025年1月5日。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
45/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python

研究方向

Start in pyproject.toml, where the black configuration excludes the ropetest directory, and look for # fmt: off markers around dedent()-ed strings in the Python sources. Confirm which black version is pinned and whether the upstream fix is released before changing anything. Done when the exclusion is removed, any unneeded # fmt: off markers are gone, and black runs cleanly over the repository.

由索引模型根據 Issue 內容生成。

描述

cleanup good first issue
Description

Now that https://github.com/psf/black/pull/1879 is merged, once that PR is in a versioned release of black, we would be able to undo the hacks that were needed to work around black's previously broken handling of dedent()-ed strings.

  • We used to filter out ropetest from being blackened, this would no longer be needed
  • It may be possible to remove some #fmt: off markers
主要語言
Python
星號
2.2k
分支
197
平均合併
2 天 13 小時
30 天內合併 PR
5

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

python-rope/rope 的其他 Issue

查看 python-rope/rope 的全部 Issue

相似的 Issue

更多 Python Issue

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

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