Use new Python 3.12 f-string syntax
メンテナーはふだん 1 日以内に返信
@ashprit-x がすでに取り組んでいます。
2024年7月5日 から。
評価
この issue はまだ評価されていません。
説明
Now that we have updated this project to use Python 3.12 (#124), all multi-line f-strings should be updated to use the new syntax.
For example:
my_var: str = (
f"""This is a {
random.choice("good", "amazing", "wonderful")
}. My next random number will be provided below in due course: {
random.choice(
999_999_999_999_999,
420,
10,
0
)
if random.randint(0, 101) == 69
else random.random()
}"""
)
Would be changed to:
my_var: str = (
f"This is a {random.choice("good", "amazing", "wonderful")}. "
"My next random number will be provided below in due course: "
f"{
random.choice(
999_999_999_999_999,
420,
10,
0
)
if random.randint(0, 101) == 69
else random.random()
}"
)
(I am aware that this example can be simplified on to a single line without the line-length being exceeded, however this is just an example. Use the shown changes to help when the changed lines do exceed the maximum allowed line-length.)
- 主要言語
- Python
- スター
- 1
- フォーク
- 11
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CSSUoB/TeX-Bot-Py-V2 のほかの issue
-
dependencies good first issue question
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CSSUoB/TeX-Bot-Py-V2#843 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
CSSUoB/TeX-Bot-Py-V2#828 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CSSUoB/TeX-Bot-Py-V2#563 ·
メンテナーはふだん 1 日以内に返信
-
dependencies deployment good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
CSSUoB/TeX-Bot-Py-V2#815 ·
メンテナーはふだん 1 日以内に返信
-
Matplotlib 3.11 Error再び着手できるかも @MattyTheHacker が 99 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
CSSUoB/TeX-Bot-Py-V2#796 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
CSSUoB/TeX-Bot-Py-V2 の issue をすべて見る
似ている issue
-
[Bug]: `graphify export svg` writes a graph.svg that is not well-formed XML when a label contains a control character対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Graphify-Labs/graphify#4241 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
DeviceTrackerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
XiaoMi/ha_xiaomi_home#1821 ·
メンテナーはふだん 1 日以内に返信
-
Maven path-index: "Ambiguous or noncanonical artifact path" error does not report the offending pathオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pulp/pulp_maven#524 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信