dmypy fails to see errors after changing path
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
Bug Report
It seems dmypy stops seeing errors when you give it exact paths.
To Reproduce
I have created a repository here with a command that creates a virtualenv and instructions on commands to run
https://github.com/delfick/mypy-daemon-bug
Expected Behavior
I expect to be able to run dmypy against different files in my project and have it still be able to see errors in files.
Actual Behavior
It appears that when dmypy is run with a different path in my project it loses the ability to see errors until the next time it is restarted
Your Environment
- Mypy version used: 1.8.0
- Mypy command-line flags:
dmypy run -- <path> - Mypy configuration options from
mypy.ini(and other config files): no configuration files - Python version used: 3.11.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている再現用リポジトリから始め、dmypy 1.8.0 と Python 3.11.1 を使って、そこに記載されたコマンドを実行します。dmypy run -- <path> が連続する正確なパスをどのように処理するかを追跡します。パスを変更した後も daemon を再起動せずにプロジェクトファイルのエラーが表示されたままになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100