diff --git a/src/griffe/encoders.py b/src/griffe/encoders.py index efbecabe..77395ce0 100644 --- a/src/griffe/encoders.py +++ b/src/griffe/encoders.py @@ -41,7 +41,7 @@ def _enum_value(obj): ParameterKind: _enum_value, Kind: _enum_value, DocstringSectionKind: _enum_value, - set: list, + set: sorted, }