[QUALITY] Add type hints to public functions and mypy to CI
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 62/100
- Issue-Typ
- Refactoring
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- github-actions, python
- Bereich
- ci-cd, developer-experience
Rechercherichtung
Start with the exports in maithili_dsl/__init__.py, then read maithili_dsl/transpile.py and maithili_dsl/cli.py to see the unannotated signatures. Add annotations to the public functions first, then helpers, and check the result with a local mypy run. Add mypy to requirements-dev.txt and a step to .github/workflows/ci.yml. Done when the public functions are annotated and the CI mypy step passes without --strict.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
No function signatures in maithili_dsl/ have type annotations (checked transpile.py and cli.py). Type hints make the public API (transpile_maithili_code, lint_maithili_code, translate_exception_to_maithili, convert_devanagari_numerals) much easier for contributors to understand.
Scope:
- Annotate all public functions exported in
maithili_dsl/__init__.py, then internal helpers - Add
mypytorequirements-dev.txtand a mypy step to.github/workflows/ci.yml - Start permissive (no
--strict), tighten later
From BACKLOG.md item 12. Also listed under Future Goals in the README.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 4
- Ø Merge
- 12 T. 21 Std.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus alphacrack/python-maithili-dsl
-
help wanted infra P2 testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
-
documentation enhancement good first issue help wanted P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
documentation good first issue P3
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
area:linter enhancement good first issue P3 translation
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 66/100
-
area:cli enhancement good first issue P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Alle Issues in alphacrack/python-maithili-dsl
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
roman-corgi/corgisim#327 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiEvtl. vergeben @arvindkumar-ship-it hat das heute übernommen. Offenllm translation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
BerriAI/litellm#51871 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
PolicyEngine backdates South Carolina’s EITC into 2015–2017Evtl. vergeben @MaxGhenis hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
PolicyEngine/policyengine-us#10944 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
fix(frontend): resolve SSE parser crash on unhandled Ref methods and undefined actions identifierOffenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
kodokbakar/MiroFish-Local#94 ·
Maintainer antworten meist innerhalb von 1 Tag