-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
sage.graphs
: Add # optional
doctest tags for modularization
#35266
Conversation
…date=format:%Y FILE | sort -k2"
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #35266 +/- ##
===========================================
+ Coverage 88.57% 88.59% +0.01%
===========================================
Files 2140 2141 +1
Lines 397273 397416 +143
===========================================
+ Hits 351891 352085 +194
+ Misses 45382 45331 -51
... and 28 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
d90a702
to
5324919
Compare
@@ -3409,29 +3409,29 @@ def WheelGraph(n): | |||
|
|||
Next, using the spring-layout algorithm:: | |||
|
|||
sage: import networkx | |||
sage: import networkx # optional - sage.groups |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean - networkx
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check that sage.groups
tags are not placed by mistake, instead of networkx
Indeed, thanks for catching this |
f9e8aa0
to
b3e5497
Compare
I've rebased on top of the dependency #35237 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks! |
Documentation preview for this PR is ready! 🎉 |
|
📚 Description
These tags make it possible/meaningful to doctest
sage.graphs
even when some "standard" packages (networkx
,numpy
, the modularized distribution packaging providingsage.groups
) are not installed.# optional
doctest tags #34998📝 Checklist
⌛ Dependencies
This is just one commit on top of:
sage.features
: Addsage.libs.singular
, features for standard Python packages #35237