Skip to content

refactor: split backchecks.py into a subpackage (#197) - #266

Merged
iabaako merged 1 commit into
refactor/197-split-enumerator-modulefrom
refactor/197-split-backchecks-module
Aug 17, 2026
Merged

refactor: split backchecks.py into a subpackage (#197)#266
iabaako merged 1 commit into
refactor/197-split-enumerator-modulefrom
refactor/197-split-backchecks-module

refactor: split backchecks.py into a subpackage (#197)

b0026ed
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 17, 2026 in 48s

Annotations

Check warning on line 548 in src/datasure/checks/backchecks/settings_ui.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function "_render_value_list_editor" has 19 parameters, which is greater than the 13 authorized.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6aoB0FCPfX5GniZu&open=AZ_d6aoB0FCPfX5GniZu&pullRequest=266

Check failure on line 564 in src/datasure/checks/backchecks/compute.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "%b %d, %Y" 3 times.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6aoO0FCPfX5GniZv&open=AZ_d6aoO0FCPfX5GniZv&pullRequest=266

Check warning on line 275 in src/datasure/checks/backchecks/compute.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function "_process_backcheck_column" has 15 parameters, which is greater than the 13 authorized.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6aoO0FCPfX5GniZx&open=AZ_d6aoO0FCPfX5GniZx&pullRequest=266

Check failure on line 1067 in src/datasure/checks/backchecks/compute.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6aoO0FCPfX5GniZy&open=AZ_d6aoO0FCPfX5GniZy&pullRequest=266

Check warning on line 1339 in src/datasure/checks/backchecks/report_ui.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace chained "endswith" calls with a single call using a tuple argument.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6ajs0FCPfX5GniZt&open=AZ_d6ajs0FCPfX5GniZt&pullRequest=266

Check failure on line 564 in src/datasure/checks/backchecks/compute.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "TIME PERIOD" 5 times.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6aoO0FCPfX5GniZw&open=AZ_d6aoO0FCPfX5GniZw&pullRequest=266

Check failure on line 1016 in src/datasure/checks/backchecks/report_ui.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Column Name" 3 times.

See more on https://sonarcloud.io/project/issues?id=PovertyAction_datasure&issues=AZ_d6ajs0FCPfX5GniZs&open=AZ_d6ajs0FCPfX5GniZs&pullRequest=266