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

Aperta
#5,106 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@Michael0x2a ci sta già lavorando.

Dal 3/6/2018.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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?

Lingua principale
Python
Stelle
20.6k
Fork
3.3k
Merge medio
1g 18h
PR unite (30g)
54

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/mypy

Tutte le issue di python/mypy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.