mypy default cache is not using XDG specification
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
mypy should follow the https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html specification for its default location of the cache directory, this means that its cache should be located somewhere under $XDG_CACHE_HOME or ~/.cache when environment variable is not defined.
The reasons for this is mostly about de-cluttering repositories, keeping cache files in a single location, making it easy to cleanup by the operating system.
Lots of tools adopted this specification even when have nothing to so with XDG itself, as it is portable and sets good practices.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、mypy のキャッシュディレクトリ設定を見つけ、現在のデフォルト値をリンク先の XDG Base Directory 仕様と比較します。XDG_CACHE_HOME が設定されている場合と設定されていない場合の動作を確認します。キャッシュがその変数の下、または変数が未設定の場合は ~/.cache の下に配置されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100