Fix printing for Operand object
まだ誰も着手していません。
評価
調査の方向性
まず Operand の出力実装を見つけ、追加のコンテキストについて issue #19 を読んでください。引用符で囲まれた名前と空の文字列に対する現在の出力を確認してから、Operand("") を含め、オペランドの境界が目に見える形で保持されるように表現を変更してください。
索引モデルが issue の本文から書いたものです。
説明
When an Operand object is printed, if the name contains quotation marks, those marks are not printed (e.g. "hello" creates Operand("hello") which, when printed, appears as hello). This becomes a problem when the empty string ("") shows up as an operand, as nothing is printed. When such an operand (Operand("")) is contained as part of another object, such as CommandInvocationInitial, it will appear as though, when printed, the CommandInvocationInitial object does not actually contain an Operand("") when, in reality, it does. This is quite deceptive and could easily lead to annoying issues that are difficult to debug (in this case, the only way to tell that there is an Operand("") is to check the length of the CommandInvocationInitial object's operand list, which is not intuitive). My proposition would be to forcefully include quotation marks around every operand that is printed to ensure that it is always clear that they exist or to provide some clear indicator that any Operand("") instances are present such as some kind of keyword.
See #19 for more details on the issue.
- 主要言語
- Python
- スター
- 5
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
binpash/annotations のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
binpash/annotations#27 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
binpash/annotations#25 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
binpash/annotations#17 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
binpash/annotations#16 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
binpash/annotations#12 · コメント 1 件 ·
binpash/annotations の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
fossasia/visdom-dev#69 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error Appears対応中かも @RitikaSen27 が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/PictoPy#1647 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scope対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信