Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#152 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
computer-vision

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
224
Forks
31
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
28

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus petercorke/machinevision-toolbox-python

Alle Issues in petercorke/machinevision-toolbox-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.