Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions dicogis/georeaders/read_vector_flat_dataset.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#! python3 # noqa: E265

"""
Name: InfosSHP
Purpose: Use GDAL/OGR library to extract informations about
geographic data. It permits a more friendly use as
submodule.

Author: Julien Moura (https://github.com/Guts/)
:Name: InfosSHP
:Purpose: Use GDAL/OGR library to extract informations about
geographic data. It permits a more friendly use as
submodule.
:Author: Julien Moura (https://github.com/Guts/)
"""

# ############################################################################
Expand Down
4 changes: 2 additions & 2 deletions dicogis/ui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"""
DicoGIS
Automatize the creation of a dictionnary of geographic data
contained in a folders structures.
It produces an Excel output file (.xlsx)
contained in a folders structures.
It produces an Excel output file (.xlsx)

Julien Moura (@geojulien)
"""
Expand Down
4 changes: 2 additions & 2 deletions dicogis/ui/mw_dicogis.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"""
DicoGIS
Automatize the creation of a dictionnary of geographic data
contained in a folders structures.
It produces an Excel output file (.xlsx)
contained in a folders structures.
It produces an Excel output file (.xlsx)

Julien Moura (@geojulien)
"""
Expand Down
9 changes: 4 additions & 5 deletions dicogis/ui/wdg_tab_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@


"""
Name: TabPublish
Purpose: Tab to publish previously exported metadata (JSON files) to a
uData catalog, from DicoGIS Notebook.

Author: Julien Moura (@geojulien)
:Name: TabPublish
:Purpose: Tab to publish previously exported metadata (JSON files) to a
uData catalog, from DicoGIS Notebook.
:Author: Julien Moura (@geojulien)
"""

# ##############################################################################
Expand Down
9 changes: 4 additions & 5 deletions dicogis/ui/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@


"""
Name: Workers
Purpose: QThread-based workers running long tasks off the GUI thread, plus a
Qt-signal-based implementation of the ProgressReporter protocol.

Author: Julien Moura (@geojulien)
:Name: Workers
:Purpose: QThread-based workers running long tasks off the GUI thread, plus a
Qt-signal-based implementation of the ProgressReporter protocol.
:Author: Julien Moura (@geojulien)
"""

# ##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion dicogis/utils/db_conf_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read_db_conf(dbconf_path: Path) -> list | dict:
"""Read databases configuration files and return parameters as list of dictionaries.

Args:
dbconf_path (Path): filepath to *.dbconf file
dbconf_path (Path): filepath to ``*.dbconf`` file

Raises:
TypeError: if input filepath is not an instance of pathlib.Path
Expand Down
9 changes: 4 additions & 5 deletions dicogis/utils/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@


"""
Name: Progress
Purpose: Toolkit-agnostic contract used by the processing pipeline to
report progress and to be told to stop.

Author: Julien Moura (@geojulien)
:Name: Progress
:Purpose: Toolkit-agnostic contract used by the processing pipeline to
report progress and to be told to stop.
:Author: Julien Moura (@geojulien)
"""

# ##############################################################################
Expand Down
10 changes: 10 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,16 @@ def run_apidoc(_):
main(["-e", "-f", "-M", "-o", str(output_path), str(modules)] + exclusions)


def drop_pyqt_signal_docstring(app, what, name, obj, options, lines):
"""Remove the generic docstring PyQt gives to signals without their own.

It contains `*types`, which docutils reads as an unfinished emphasis.
"""
if lines and lines[0].endswith("-> PYQT_SIGNAL"):
lines.clear()


# launch setup
def setup(app):
app.connect("builder-inited", run_apidoc)
app.connect("autodoc-process-docstring", drop_pyqt_signal_docstring)
Loading