Nyall Dawson
f21722a0f1
[sipify] Minor cleanup to auto additions
...
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10:00
Nyall Dawson
2af54ad057
Fix malformed python docstrings when enum value has \since annotation
2024-09-01 02:29:17 +10:00
Nyall Dawson
3f481b568e
Record header subfolders as __group__ attribute in PyQGIS classes
...
This will allow us to logically create subgroups for PyQGIS modules
in the API reference guide
2024-08-17 20:13:12 +10:00
Nyall Dawson
1f27fc627a
[pyqgis] Wrap unambiguously static methods in staticmethod
...
sip doesn't use the standard Python staticmethod type for defining
static methods, which means that standard means of testing
for a static method (like `isinstance(..., staticmethod)`) fail
with any PyQGIS static methods.
This causes issues with lint tools, which incorrectly flag
calls to QGIS static methods as missing self arguments. It also
breaks detection of static methods in the sphinx PyQGIS docs,
so all static methods are shown as non-static.
Work around this in sipify, by wrapping unambiguously static
methods in staticmethod wrappers.
2024-08-14 22:08:41 +10:00
Nyall Dawson
a36b203f30
Promote some processing enums to enum class, cleanups
2024-01-30 19:10:43 +10:00
Nyall Dawson
9f57fb2ef0
Rename "tiled mesh" to "tiled scene"
...
Better reflects that these types can contain lines and point
data, not just meshes
2023-08-05 21:31:49 +10:00
Nyall Dawson
95dc22f6b5
Fix handling of ' in enum docstrings in sipify
2023-07-09 22:48:59 +10:00
Nyall Dawson
1e1535d63d
Handle tiled mesh layers in more code paths
2023-06-28 17:47:17 +10:00
Alexander Bruy
a1013f87c6
[processing] add vector tile destination parameter
2023-05-18 07:09:16 +10:00
Nyall Dawson
c2c0f2574d
[processing] Add parameter type for annotation layers
2021-09-11 07:59:51 +10:00
Alexander Bruy
f801cb6816
[processing] new pont cloud parameter for processing
2021-08-05 16:03:50 +03:00
Denis Rouzaud
e7ccf1fcc6
also do non scoped enums
2021-05-31 09:36:21 +02:00
Peter Petrik
8ea34de8a2
restore accidentally deleted files
2020-10-27 05:29:14 +10:00
Peter Petrik
8536c564fb
add ept provider
2020-10-27 05:29:14 +10:00
Matthias Kuhn
f33762a50f
Fix invalid escape sequence
...
/usr/lib/python3/dist-packages/qgis/core/__init__.py:195
/usr/lib/python3/dist-packages/qgis/core/__init__.py:195: DeprecationWarning: invalid escape sequence \s
QgsProcessingUtils.LayerHint.Mesh.__doc__ = "Mesh layer type \since QGIS 3.6"
/usr/lib/python3/dist-packages/qgis/core/additions/qgsfunction.py:167
/usr/lib/python3/dist-packages/qgis/core/additions/qgsfunction.py:167: DeprecationWarning: invalid escape sequence \*
2020-02-17 08:07:14 +10:00
Denis Rouzaud
631c7016db
scope enum for QgsProcessing::LayerHint ( #9639 )
2019-03-27 17:23:36 -05:00