Closed bonjourmauko closed 3 years ago
@maukoquiroga got this error when running make doc.test
:
Warning, treated as error:
/home/mbenjelloul/openfisca/openfisca-core/openfisca_core/indexed_enums/enum.py:docstring of openfisca_core.indexed_enums.Enum.encode:None: WARNING: py:obj reference target not found: numpy.ndarray
@maukoquiroga : I got the same error as above even after the 3 last commits.
Hi @benjello ! As I put in the README.md, you have to run:
make test.doc branch=`git branch --show-current`
So it compares these changes with the corresponding ones in the doc repo.
Please let me know if that works for you, and if and how could I render the documentation clearer.
(Maybe making it the default behaviour? I didn't as per the least surprise principle, but it may in fact be more intuitive).
By the way @MattiSG I did actually struggle to get this automated with make
, and I have been practicing stoicism so I am in no (hard) way emotionally attached to keep this overly complex and fragile task, quite the contrary, I just hope it won't be a blocking factor for this specific changeset 😃
Thanks @maukoquiroga ! I tested make test-doc and it worked well. I didn't test the occurrence of an error and how to fix it, but I am all in afvor of merging this PR and improving it if needed later when use case emerge.
@HAEKADI, I assume that you are almost aligned with me ;-) (or do not have a strong opinion which is equivalent) Review from @MattiSG and @sandcha might be useful as well ! ()
Partially fixes openfisca/openfisca-doc#244 Depended upon by #1033 #1021
New Features
openfisca_core.variables.typing
Bug Fixes
Technical Changes
Documentation