Skip to content

Add Pyright configuration to suppress specific type checking issues

0edd9f4
Select commit
Loading
Failed to load commit list.
Merged

Feature/openapi python client wrappers #4

Add Pyright configuration to suppress specific type checking issues
0edd9f4
Select commit
Loading
Failed to load commit list.
T+T SonarQube / SonarQube Code Analysis failed Sep 25, 2025 in 41s

Quality Gate failed

Failed Quality Gate failed

  • 0.50% Coverage on New Code (is less than 80.00%)
  • 33.82% Duplicated Lines (%) on New Code (is greater than 3.00%)
  • 180 New Issues (is greater than 0)

Project ID: tonkintaylor_templafy_433f7948-2868-4177-b69d-87f581ddd5ff

View in SonarQube

Annotations

Check warning on line 49 in src/templafy/models/document_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/document_details.py#L49

Rename this variable; it shadows a builtin.

Check warning on line 105 in src/templafy/models/document_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/document_details.py#L105

Rename this variable; it shadows a builtin.

Check failure on line 71 in src/templafy/models/post_libraries_space_id_email_elements_folders_folder_id_assets_body.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/post_libraries_space_id_email_elements_folders_folder_id_assets_body.py#L71

Define a constant instead of duplicating this literal "text/plain" 5 times.

Check failure on line 145 in src/templafy/models/slide_element_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_details_base.py#L145

Define a constant instead of duplicating this literal "None | Unset | str" 3 times.

Check warning on line 53 in src/templafy/models/slide_element_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_details_base.py#L53

Rename this variable; it shadows a builtin.

Check warning on line 122 in src/templafy/models/slide_element_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_details_base.py#L122

Rename this variable; it shadows a builtin.

Check failure on line 145 in src/templafy/models/slide_element_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_base.py#L145

Define a constant instead of duplicating this literal "None | Unset | str" 3 times.

Check warning on line 53 in src/templafy/models/slide_element_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_base.py#L53

Rename this variable; it shadows a builtin.

Check warning on line 122 in src/templafy/models/slide_element_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_element_base.py#L122

Rename this variable; it shadows a builtin.

Check failure on line 107 in src/templafy/models/update_link_request.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/update_link_request.py#L107

Define a constant instead of duplicating this literal "None | Unset | str" 4 times.

Check failure on line 31 in src/templafy/models/update_link_request.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/update_link_request.py#L31

Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.

Check failure on line 90 in src/templafy/models/update_link_request.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/update_link_request.py#L90

Refactor this function to reduce its Cognitive Complexity from 28 to the 15 allowed.

Check failure on line 131 in src/templafy/models/update_link_request.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/update_link_request.py#L131

Specify an exception class to catch or reraise the exception

Check failure on line 178 in src/templafy/models/image_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/image_details.py#L178

Define a constant instead of duplicating this literal "None | Unset | str" 3 times.

Check warning on line 61 in src/templafy/models/image_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/image_details.py#L61

Rename this variable; it shadows a builtin.

Check warning on line 143 in src/templafy/models/image_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/image_details.py#L143

Rename this variable; it shadows a builtin.

Check warning on line 31 in src/templafy/models/data_source_field_schema.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/data_source_field_schema.py#L31

Rename this variable; it shadows a builtin.

Check warning on line 58 in src/templafy/models/data_source_field_schema.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/data_source_field_schema.py#L58

Rename this variable; it shadows a builtin.

Check warning on line 49 in src/templafy/models/email_element_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/email_element_details.py#L49

Rename this variable; it shadows a builtin.

Check warning on line 105 in src/templafy/models/email_element_details.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/email_element_details.py#L105

Rename this variable; it shadows a builtin.

Check failure on line 157 in src/templafy/models/slide_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_details_base.py#L157

Define a constant instead of duplicating this literal "None | Unset | str" 3 times.

Check warning on line 61 in src/templafy/models/slide_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_details_base.py#L61

Rename this variable; it shadows a builtin.

Check warning on line 134 in src/templafy/models/slide_details_base.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/slide_details_base.py#L134

Rename this variable; it shadows a builtin.

Check failure on line 71 in src/templafy/models/post_libraries_space_id_documents_folders_folder_id_assets_body.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/post_libraries_space_id_documents_folders_folder_id_assets_body.py#L71

Define a constant instead of duplicating this literal "text/plain" 5 times.

Check warning on line 87 in src/templafy/models/data_source_item.py

See this annotation in the file changed.

@t-t-sonarqube t-t-sonarqube / SonarQube Code Analysis

src/templafy/models/data_source_item.py#L87

Rename this variable; it shadows a builtin.