Closed jsignell closed 7 months ago
I'm working through the numpydocs warnings now as well.
Thank you!
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
f9034ac
) 86.11% compared to head (323a881
) 63.60%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ok all the warnings are gone locally. I'll watch the PR readthedocs build to confirm that that's the case there as well.
The big changes are in fc2ea8cf7fe222d9efe20a466f1725082d87b4ee where I exclude some methods/files and ignore some classes of warnings.
A lot fewer! I don';t mind merging with these.
WARNING: [numpydoc] Validation warnings while processing docstring for 'cf_xarray.set_options':
PR01: Parameters {'**kwargs'} not documented
PR02: Unknown parameters {'warn_on_missing_variables', 'custom_criteria'}
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.DataArray.cf.formula_terms':
SS06: Summary should fit in a single line
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.DataArray.cf.differentiate':
PR01: Parameters {'*xr_args', '**xr_kwargs'} not documented
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.Dataset.cf.formula_terms':
SS06: Summary should fit in a single line
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.Dataset.cf.differentiate':
PR01: Parameters {'*xr_args', '**xr_kwargs'} not documented
WARNING: [numpydoc] Validation warnings while processing docstring for 'cf_xarray.set_options':
PR01: Parameters {'**kwargs'} not documented
PR02: Unknown parameters {'warn_on_missing_variables', 'custom_criteria'}
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.DataArray.cf.differentiate':
PR01: Parameters {'*xr_args', '**xr_kwargs'} not documented
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.DataArray.cf.formula_terms':
SS06: Summary should fit in a single line
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.Dataset.cf.differentiate':
PR01: Parameters {'*xr_args', '**xr_kwargs'} not documented
WARNING: [numpydoc] Validation warnings while processing docstring for 'xarray.Dataset.cf.formula_terms':
SS06: Summary should fit in a single line
A lot fewer! I don't mind merging with these.
Yeah this is numpydoc 1.5.0 (RTD) vs 1.6.0 (what I have locally). The more revent version is better at handling the inline ignore comments. So yeah I agree. I am happy merging as is
Docs build is broken on main. This seems to fix it locally. Ref: https://github.com/sphinx-doc/sphinx/issues/11094#issuecomment-1372994091