Alan D. Snow

Results 441 comments of Alan D. Snow

> what's a sane scenario where you'd want to replace the CA bundle just for GDAL/PROJ but not anything else? https://github.com/Toblerity/Fiona/issues/1091

flake8 failure is unrelated: ``` autotest/osr/osr_ct.py:35:1: F401 'sys' imported but unused ```

> How do the changes in swig/include/python/docs/ have been done ? Those are generated files... Oof, I missed the README. I have been making the changes manually :man_facepalming: I am...

> I'm a bit 50% 50% on this. There were quite a few tweaks necessary to get the docs to work with sphinx and be formatted properly. I haven't dug...

An automated option could be to use `pylint` to check if the docstrings are missing or not: `demo.py` ```python def func_no_docstring(): return None ``` ```bash python -m pylint demo.py *************...

> anything you wanted to add to this PR, or is it good for merge ? Feel free to merge. There are other fixes that may be good to add,...

> the REGENERATE_PYTHON_DOCS logic in swig/python/CMakeLists.txt should be removed soon That is a good call. Created: https://github.com/OSGeo/gdal/issues/6187

An alternative would be to go the other direction and reference the python bindings (https://gdal.org/api/python_bindings.html) in the swig/python/README.rst.

> you meant having a mostly empty swig/python/README.rst just linking to the https://gdal.org/api/python_bindings.html URL ? Yeah, something like that.