Skip to content

Commit 59b3b29

Browse files
authored
Merge branch 'main' into chore/add-renovate-config
2 parents d37ff53 + b32f203 commit 59b3b29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/reqstool_python_decorators/processors/decorator_processor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_functions_and_classes(self, file_path: str | os.PathLike, decorator_name
127127
self.req_svc_results.append(
128128
{
129129
"fullyQualifiedName": str(file_path).replace("/", "."),
130-
"elementKind": node.__class__.__name__[:-3].upper(),
130+
"elementKind": node.__class__.__name__.removesuffix("Def").upper(),
131131
"name": node.name,
132132
"decorators": decorators_info,
133133
}

0 commit comments

Comments
 (0)