88class LogLevel (str , Enum ):
99 """Enumeration of available log levels."""
1010
11- trace : str = "trace"
11+ trace = "trace"
1212 """The TRACE log level."""
13- debug : str = "debug"
13+ debug = "debug"
1414 """The DEBUG log level."""
15- info : str = "info"
15+ info = "info"
1616 """The INFO log level."""
17- success : str = "success"
17+ success = "success"
1818 """The SUCCESS log level."""
19- warning : str = "warning"
19+ warning = "warning"
2020 """The WARNING log level."""
21- error : str = "error"
21+ error = "error"
2222 """The ERROR log level."""
23- critical : str = "critical"
23+ critical = "critical"
2424 """The CRITICAL log level."""
2525
2626
@@ -62,72 +62,72 @@ class DocstringSectionKind(str, Enum):
6262class ParameterKind (str , Enum ):
6363 """Enumeration of the different parameter kinds."""
6464
65- positional_only : str = "positional-only"
65+ positional_only = "positional-only"
6666 """Positional-only parameter."""
67- positional_or_keyword : str = "positional or keyword"
67+ positional_or_keyword = "positional or keyword"
6868 """Positional or keyword parameter."""
69- var_positional : str = "variadic positional"
69+ var_positional = "variadic positional"
7070 """Variadic positional parameter."""
71- keyword_only : str = "keyword-only"
71+ keyword_only = "keyword-only"
7272 """Keyword-only parameter."""
73- var_keyword : str = "variadic keyword"
73+ var_keyword = "variadic keyword"
7474 """Variadic keyword parameter."""
7575
7676
7777class Kind (str , Enum ):
7878 """Enumeration of the different object kinds."""
7979
80- MODULE : str = "module"
80+ MODULE = "module"
8181 """Modules."""
82- CLASS : str = "class"
82+ CLASS = "class"
8383 """Classes."""
84- FUNCTION : str = "function"
84+ FUNCTION = "function"
8585 """Functions and methods."""
86- ATTRIBUTE : str = "attribute"
86+ ATTRIBUTE = "attribute"
8787 """Attributes and properties."""
88- ALIAS : str = "alias"
88+ ALIAS = "alias"
8989 """Aliases (imported objects)."""
9090
9191
9292class ExplanationStyle (str , Enum ):
9393 """Enumeration of the possible styles for explanations."""
9494
95- ONE_LINE : str = "oneline"
95+ ONE_LINE = "oneline"
9696 """Explanations on one-line."""
97- VERBOSE : str = "verbose"
97+ VERBOSE = "verbose"
9898 """Explanations on multiple lines."""
99- MARKDOWN : str = "markdown"
99+ MARKDOWN = "markdown"
100100 """Explanations in Markdown, adapted to changelogs."""
101- GITHUB : str = "github"
101+ GITHUB = "github"
102102 """Explanation as GitHub workflow commands warnings, adapted to CI."""
103103
104104
105105class BreakageKind (str , Enum ):
106106 """Enumeration of the possible API breakages."""
107107
108- PARAMETER_MOVED : str = "Positional parameter was moved"
108+ PARAMETER_MOVED = "Positional parameter was moved"
109109 """Positional parameter was moved"""
110- PARAMETER_REMOVED : str = "Parameter was removed"
110+ PARAMETER_REMOVED = "Parameter was removed"
111111 """Parameter was removed"""
112- PARAMETER_CHANGED_KIND : str = "Parameter kind was changed"
112+ PARAMETER_CHANGED_KIND = "Parameter kind was changed"
113113 """Parameter kind was changed"""
114- PARAMETER_CHANGED_DEFAULT : str = "Parameter default was changed"
114+ PARAMETER_CHANGED_DEFAULT = "Parameter default was changed"
115115 """Parameter default was changed"""
116- PARAMETER_CHANGED_REQUIRED : str = "Parameter is now required"
116+ PARAMETER_CHANGED_REQUIRED = "Parameter is now required"
117117 """Parameter is now required"""
118- PARAMETER_ADDED_REQUIRED : str = "Parameter was added as required"
118+ PARAMETER_ADDED_REQUIRED = "Parameter was added as required"
119119 """Parameter was added as required"""
120- RETURN_CHANGED_TYPE : str = "Return types are incompatible"
120+ RETURN_CHANGED_TYPE = "Return types are incompatible"
121121 """Return types are incompatible"""
122- OBJECT_REMOVED : str = "Public object was removed"
122+ OBJECT_REMOVED = "Public object was removed"
123123 """Public object was removed"""
124- OBJECT_CHANGED_KIND : str = "Public object points to a different kind of object"
124+ OBJECT_CHANGED_KIND = "Public object points to a different kind of object"
125125 """Public object points to a different kind of object"""
126- ATTRIBUTE_CHANGED_TYPE : str = "Attribute types are incompatible"
126+ ATTRIBUTE_CHANGED_TYPE = "Attribute types are incompatible"
127127 """Attribute types are incompatible"""
128- ATTRIBUTE_CHANGED_VALUE : str = "Attribute value was changed"
128+ ATTRIBUTE_CHANGED_VALUE = "Attribute value was changed"
129129 """Attribute value was changed"""
130- CLASS_REMOVED_BASE : str = "Base class was removed"
130+ CLASS_REMOVED_BASE = "Base class was removed"
131131 """Base class was removed"""
132132
133133
@@ -151,31 +151,31 @@ class Parser(str, Enum):
151151class ObjectKind (str , Enum ):
152152 """Enumeration of the different runtime object kinds."""
153153
154- MODULE : str = "module"
154+ MODULE = "module"
155155 """Modules."""
156- CLASS : str = "class"
156+ CLASS = "class"
157157 """Classes."""
158- STATICMETHOD : str = "staticmethod"
158+ STATICMETHOD = "staticmethod"
159159 """Static methods."""
160- CLASSMETHOD : str = "classmethod"
160+ CLASSMETHOD = "classmethod"
161161 """Class methods."""
162- METHOD_DESCRIPTOR : str = "method_descriptor"
162+ METHOD_DESCRIPTOR = "method_descriptor"
163163 """Method descriptors."""
164- METHOD : str = "method"
164+ METHOD = "method"
165165 """Methods."""
166- BUILTIN_METHOD : str = "builtin_method"
166+ BUILTIN_METHOD = "builtin_method"
167167 """Built-in methods."""
168- COROUTINE : str = "coroutine"
168+ COROUTINE = "coroutine"
169169 """Coroutines"""
170- FUNCTION : str = "function"
170+ FUNCTION = "function"
171171 """Functions."""
172- BUILTIN_FUNCTION : str = "builtin_function"
172+ BUILTIN_FUNCTION = "builtin_function"
173173 """Built-in functions."""
174- CACHED_PROPERTY : str = "cached_property"
174+ CACHED_PROPERTY = "cached_property"
175175 """Cached properties."""
176- PROPERTY : str = "property"
176+ PROPERTY = "property"
177177 """Properties."""
178- ATTRIBUTE : str = "attribute"
178+ ATTRIBUTE = "attribute"
179179 """Attributes."""
180180
181181 def __str__ (self ) -> str :
0 commit comments