Read terminal color codes in daemon client on every run
オープン
まだ誰も着手していません。
priority-2-low
refactoring
topic-daemon
topic-usability
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
Currently terminal color codes are read once during daemon start-up, and then re-used on each run. So if the daemon is started in one environment (e.g. an IDE plugin) where colors are not available, and then run in another where they are available (e.g. a normal terminal), the colors stay disabled until the next daemon restart.
This is probably low priority because people don't often switch between running mypy daemon in a terminal and in IDE, and this doesn't cause mangled formatting.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、mypy daemon client が daemon の起動時にターミナルの色の使用可能性をどこで読み取り、各実行でその値をどこで再利用しているかを追跡します。daemon を再起動しなくても、IDE 環境と通常のターミナルを切り替える場合を含め、実行ごとに色の使用可能性が確認されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100