Enable only a few error codes
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
- Are you reporting a bug, or opening a feature request?
Feature request
I think one of the largest problems with static analyzers is dealing with legacy code. Mypy has a nice documentation about it https://mypy.readthedocs.io/en/latest/existing_code.html
However, what I'm missing is a way to only enable a few checks. In this way I can start by only enabling the most critical checks (eg. name-defined).
As an example, in pylint you can configure the list of checks at the config file, or do --disable=all --enable=check1,check2
http://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options
thank you guys for this awesome project!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず mypy の設定とエラーコードの処理を読み、要求されている allowlist の動作を既存のオプションと比較します。設定またはコマンドラインから、name-defined のようなケースを含む選択したチェックだけをユーザーが有効にでき、ドキュメントとテストでその動作がカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100