Should `--disallow-subclassing-any` be renamed or aliased to match the other 'disallow any' flags?

オープン
#5,106 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Michael0x2a がすでに取り組んでいます。

2018年6月3日 から。

評価

この issue はまだ評価されていません。

説明

feature topic-disallow-any topic-usability

Currently, we have 6 different flags that, when set, prohibit the use of 'Any' in various places. Five of those flags are written in the form --disallow-any-*. The sixth, --disallow-subclassing-any, is the odd one out. (It predates the other five by about a year.)

Would anybody mind if I added an alias for that flag named --disallow-any-subclassing or --disallow-any-subclass and fixed the documentation so it's grouped with the other five?

主要言語
Python
スター
20.6k
フォーク
3.3k
平均マージ
1日 18時間
マージ済み PR(30日)
54

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python/mypy のほかの issue

python/mypy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。