Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#152 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
computer-vision

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
224
Forks
31
Merge médio
1d 20h
PRs com merge (30d)
28

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de petercorke/machinevision-toolbox-python

Todas as issues de petercorke/machinevision-toolbox-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.