You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the difference between "stable" and "latest"? I thought "stable" is from the released version and "latest" from master, but it seems not the case.
we just had the same thought :). I am looking into that now in the rtd setup. I agree. I think stable should be the latest release and latest should be master.
It seems that docs of Numpy are using the latter one, and declare the default value in the detailed descriptions of parameters. Should I apply this modification to the files with warning messgaes?
Other than these warnings, the only one left is /quantecon/markov/ddp.py:docstring of quantecon.markov.ddp.DiscreteDP:85: WARNING: Inline substitution_reference start-string without end-string.
Other than cases that can be solved by changing scalar(int) to int and optional(default=None) to optional, there are two types of Block quote ends without a blank line; unexpected unindent. warning messgaes left.
Hey @shizejin and @oyamad. Just letting you know I am running some setup workshops today for some new QuantEcon RA's. So I won't get to look into this issue until tomorrow (most likely). I wonder if there is a numpydoc linter that we can use? It might be a useful approach to catch these errors in the editor.
I omit "array_like(int, ndim=1)" as I think it is included in "array_like(int or array_like(float))", and otherwise I can not shorten the sentence to be under 79. Do you think this change is acceptable?
Now that there is no any warning message, I will do PR if you think it's okay.
"array_like(int, ndim=1)" should have been "array_like(float, ndim=1)".
The maximum line length is 72 for docstrings, if we want to strictly follow PEP 8.
Activity
oyamad commentedon Feb 23, 2017
oyamad commentedon Feb 23, 2017
mmcky commentedon Feb 23, 2017
Thanks @oyamad. This is helpful. I will add a review of readthedocs to my list.
mmcky commentedon Feb 23, 2017
The page:
http://quanteconpy.readthedocs.io/en/latest/game_theory/lemke_howson.html
doesn't seem to be bringing the docstring through.
http://quanteconpy.readthedocs.io/en/latest/game_theory/mclennan_tourky.html
http://quanteconpy.readthedocs.io/en/latest/game_theory/pure_nash.html
http://quanteconpy.readthedocs.io/en/latest/game_theory/support_enumeration.html
on readthedocs
oyamad commentedon Feb 23, 2017
And this page:
http://quanteconpy.readthedocs.io/en/latest/game_theory/utilities.html
Also this page has not been updated:
http://quanteconpy.readthedocs.io/en/latest/tools/compute_fp.html
oyamad commentedon Feb 23, 2017
These pages display the docstrings locally on my machine.
oyamad commentedon Feb 23, 2017
I guess this line has to be updated.
Does any process update this file
rtd-environment.ymlautomatically?mmcky commentedon Feb 23, 2017
This is looking better: http://quanteconpy.readthedocs.io/en/rtd-env-update/
Once it passes tests I will merge to fix missing pages.
oyamad commentedon Feb 23, 2017
Very good.
What is the difference between "stable" and "latest"? I thought "stable" is from the released version and "latest" from
master, but it seems not the case.mmcky commentedon Feb 23, 2017
we just had the same thought :). I am looking into that now in the rtd setup. I agree. I think stable should be the latest release and latest should be master.
10 remaining items
oyamad commentedon Feb 26, 2017
The problem is that the list of parameter types is too long that
would exceed the maximum line length 72 for docstrings.
One option is to shorten the description to
or
shizejin commentedon Feb 26, 2017
It seems that docs of Numpy are using the latter one, and declare the default value in the detailed descriptions of parameters. Should I apply this modification to the files with warning messgaes?
oyamad commentedon Feb 26, 2017
What are the other cases that yield the
unexpected unindentwarning?shizejin commentedon Feb 26, 2017
I have checked all the
Block quote ends without a blank line; unexpected unindent.warning message, and they are all in this case.shizejin commentedon Feb 26, 2017
Other than these warnings, the only one left is
/quantecon/markov/ddp.py:docstring of quantecon.markov.ddp.DiscreteDP:85: WARNING: Inline substitution_reference start-string without end-string.And this is caused by using
s'. As it is not appropriate to bracket it with "`", maybe we could replace it with another expression?oyamad commentedon Feb 26, 2017
@shizejin Will you change all the
s'in the docstring ofDiscreteDP(lines 121-284) and insolve(line 651) tos_next(and keep the others)? Thanks!oyamad commentedon Feb 26, 2017
There is one more in compute_fp.py.
Please change
to
oyamad commentedon Feb 26, 2017
Regarding
random_state:Please change
to
(I think this looks better.)
shizejin commentedon Feb 26, 2017
Changes have been done.
Other than cases that can be solved by changing
scalar(int)tointandoptional(default=None)tooptional, there are two types ofBlock quote ends without a blank line; unexpected unindent.warning messgaes left.How to deal with these?
mmcky commentedon Feb 26, 2017
Hey @shizejin and @oyamad. Just letting you know I am running some setup workshops today for some new QuantEcon RA's. So I won't get to look into this issue until tomorrow (most likely). I wonder if there is a
numpydoclinter that we can use? It might be a useful approach to catch these errors in the editor.oyamad commentedon Mar 10, 2017
@shizejin
to
and
to
to
Thanks!
shizejin commentedon Mar 12, 2017
Sure. I have done these changes.
Also, in the
normal_form_game.py, I changeto
I omit "array_like(int, ndim=1)" as I think it is included in "array_like(int or array_like(float))", and otherwise I can not shorten the sentence to be under 79. Do you think this change is acceptable?
Now that there is no any warning message, I will do PR if you think it's okay.
oyamad commentedon Mar 14, 2017
"array_like(int, ndim=1)" should have been "array_like(float, ndim=1)".
The maximum line length is 72 for docstrings, if we want to strictly follow PEP 8.
What about just
shizejin commentedon Mar 14, 2017
Looks concise and accurate. Should I do PR based on this?