openedx / openedx/code-annotations
Remove ability to comment between annotations
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 5
- フォーク
- 13
- 平均マージ
- 18時間 26分
- マージ済み PR(30日)
- 4
説明
It has been discussed during toggles annotation work that the ability to intermix comments between code annotations doesn't seem to add much value, and instead adds implementation complexity and bugs.
See example test file for this use case:
https://github.com/openedx/code-annotations/blob/master/tests/extensions/python_test_files/multiline_singlelinecomment.pyt
See toggle annotation PR comment about potential issue with linting due to this issue: https://github.com/openedx/edx-platform/pull/27222#discussion_r606037209.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
コメントがアノテーションの間に挿入されている例を示す tests/extensions/python_test_files/multiline_singlelinecomment.pyt から始め、次にその fixture が実行する実装をたどってください。この配置のサポートを削除し、関連する期待値を更新して、アノテーションのパースと linting でコードアノテーション間のコメントが受け入れられなくなったことを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100