Skip to content

Remove test causes new subclass to be made

44d5bda
Select commit
Loading
Failed to load commit list.
Merged

Cleanup for 2.0 release #391

Remove test causes new subclass to be made
44d5bda
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Aug 24, 2025 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check notice on line 416 in bcipy/acquisition/protocols/lsl/lsl_client.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/acquisition/protocols/lsl/lsl_client.py#L416

Unnecessary pass statement

Check notice on line 197 in bcipy/core/stimuli.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/core/stimuli.py#L197

Lambda may not be necessary

Check notice on line 139 in bcipy/display/components/button_press_handler.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/display/components/button_press_handler.py#L139

Unnecessary pass statement

Check warning on line 80 in bcipy/display/paradigm/matrix/display.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/display/paradigm/matrix/display.py#L80

Dangerous default value list() (builtins.list) as argument

Check warning on line 256 in bcipy/display/paradigm/rsvp/display.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/display/paradigm/rsvp/display.py#L256

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)

Check warning on line 51 in bcipy/feedback/sound/auditory_feedback.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/feedback/sound/auditory_feedback.py#L51

Number of parameters was 3 in 'Feedback.administer' and is now 4 in overriding 'AuditoryFeedback.administer' method

Check notice on line 92 in bcipy/feedback/tests/visual/test_visual_feedback.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/feedback/tests/visual/test_visual_feedback.py#L92

Unused variable 'response'

Check warning on line 11 in bcipy/gui/BCInterface.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/gui/BCInterface.py#L11

Unused Dict imported from typing

Check warning on line 10 in bcipy/gui/alert.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/gui/alert.py#L10

Unused Optional imported from typing

Check warning on line 11 in bcipy/gui/file_dialog.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/gui/file_dialog.py#L11

Unused Optional imported from typing

Check warning on line 14 in bcipy/gui/file_dialog.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/gui/file_dialog.py#L14

Unused QRect imported from PyQt6.QtCore

Check warning on line 32 in bcipy/gui/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/gui/main.py#L32

Redefining built-in 'min'

Check warning on line 167 in bcipy/signal/model/classifier.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/model/classifier.py#L167

Value of type "Any | None" is not indexable. (index)

Check warning on line 44 in bcipy/signal/tests/model/pca_rda_kde/test_pca_rda_kde.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/pca_rda_kde/test_pca_rda_kde.py#L44

"type[ModelSetup]" has no attribute "num_channel". (attr-defined)

Check warning on line 222 in bcipy/signal/tests/model/pca_rda_kde/test_pca_rda_kde.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/pca_rda_kde/test_pca_rda_kde.py#L222

"TestPcaRdaKdeModelExternals" has no attribute "neg_mean". (attr-defined)

Check warning on line 41 in bcipy/signal/tests/model/rda_kde/test_rda_kde.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/rda_kde/test_rda_kde.py#L41

"type[ModelSetup]" has no attribute "num_channel". (attr-defined)

Check warning on line 187 in bcipy/signal/tests/model/rda_kde/test_rda_kde.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/rda_kde/test_rda_kde.py#L187

"TestPcaRdaKdeModelExternals" has no attribute "pos_mean". (attr-defined)

Check warning on line 190 in bcipy/signal/tests/model/rda_kde/test_rda_kde.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/rda_kde/test_rda_kde.py#L190

"TestPcaRdaKdeModelExternals" has no attribute "num_channel". (attr-defined)

Check warning on line 121 in bcipy/signal/tests/model/test_offline_analysis.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/test_offline_analysis.py#L121

"type[TestOfflineAnalysisET]" has no attribute "tmp_dir". (attr-defined)

Check warning on line 246 in bcipy/signal/tests/model/test_offline_analysis.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/signal/tests/model/test_offline_analysis.py#L246

"TestOfflineAnalysisFusion" has no attribute "output_folder". (attr-defined)

Check warning on line 163 in bcipy/task/control/evidence.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/task/control/evidence.py#L163

Number of parameters was 2 in 'EvidenceEvaluator.evaluate' and is now 7 in overriding 'EEGEvaluator.evaluate' method

Check warning on line 133 in bcipy/task/control/handler.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/task/control/handler.py#L133

as argument

Check warning on line 167 in bcipy/task/control/handler.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/task/control/handler.py#L167

Need type annotation for "list_series". (var-annotated)

Check warning on line 100 in bcipy/task/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/task/main.py#L100

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)

Check warning on line 105 in bcipy/task/orchestrator/orchestrator.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

bcipy/task/orchestrator/orchestrator.py#L105

Expression "self.logger.info('Alerts are on') if self.alert else self.logger.info('Alerts are off')" is assigned to nothing