Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a py.typed marker, so type checkers use this package's annotations

Aperta
#152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by checking the package layout and wheel configuration to find where a py.typed marker must be added and how package files are included. Then run mypy with the project's settings to assess the annotations and investigate any failures. The issue is done when the annotations are suitable for users and the marker is included in the built wheel.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Likely smell: this package ships no py.typed marker, so users' type checkers (mypy, Pylance, pyright) ignore its annotations and treat it as untyped. (see also #40 and #60 on mypy and coverage) RTB has just added one in petercorke/robotics-toolbox-python#823: an empty py.typed file in the package folder, which has to end up in the wheel. Please check that the annotations are in good enough shape to offer to users (mypy clean on your own settings), then add it and fix what you find.

Lingua principale
Python
Stelle
224
Fork
31
Merge medio
1g 20h
PR unite (30g)
28

Preparare l'ambiente

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 petercorke/machinevision-toolbox-python

Tutte le issue di petercorke/machinevision-toolbox-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.