-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add py.typed files to graphviz packages #180
base: master
Are you sure you want to change the base?
Conversation
Bump on this? This would be very useful. |
Thanks for the PR and sorry for the late response. Let me explain: a while ago during refactoring the main graphviz/.github/workflows/build.yaml Lines 160 to 171 in 1760930
Because Recently, the With |
I would be interested in helping out with this. I confirm that
I tried |
This would be super useful. Can it get some attention again ? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #180 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 33 28 -5
Lines 1089 952 -137
==========================================
- Hits 1089 952 -137 ☔ View full report in Codecov by Sentry. |
The
graphviz
library uses type annotations widely, which is very useful. However, currently when usingmaster
, attempting to usemypy
on a file that importsgraphviz
gives the following error:To make the
graphviz
type annotations accessible to dependent projects, I addedpy.typed
files tographviz
,graphviz.backend
, andgraphviz.parameters
as described in the MyPy documentation.