Stubgen skips "vendor" directory
オープン
まだ誰も着手していません。
bug
good-first-issue
topic-stubgen
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
Bug Report
Stubgen skips over a directory called vendor without any error message.
To Reproduce
Create a project with this structure
a
__init__.py
vendor
__init__.py
-
Run
stubgen a -
All that gets generated is
out/a/__init__.pyi
I would expect the output to include out/a/vendor/__init__.pyi
Running stubgen a/vendor also fails to generate out/a/vendor/__init__.pyi, but cd'ing into a and then running stubgen vendor creates a/out/vendor/__init__.pyi
Your Environment
- Mypy version used: 0.790
- Mypy command-line flags: Included in problem description
- Mypy configuration options from
mypy.ini(and other config files): Not sure where my config file is, but I haven't modified it. - Python version used: 3.7
- Operating system and version: Debian DNU/Linux 9 (stretch)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、示されている a/vendor プロジェクト構成と stubgen エントリポイントで問題を再現します。stubgen a と stubgen a/vendor がディレクトリをどのように走査するかを追跡し、その後、生成された出力に out/a/vendor/__init__.pyi が含まれていることを、作業ディレクトリの動作を変更せずに確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100