Skip to content

[MAINT] Update to new Python and dev tools #586

[MAINT] Update to new Python and dev tools

[MAINT] Update to new Python and dev tools #586

Triggered via pull request September 21, 2023 13:40
@larsonerlarsoner
synchronize #55
update
Status Failure
Total duration 10m 55s
Artifacts 1

unit_tests.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

22 errors
style: mne_hfo/posthoc.py#L37
Incompatible default for argument "end_sec" (default has type "None", argument has type "float") [assignment]
style: mne_hfo/posthoc.py#L37
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
style: mne_hfo/posthoc.py#L37
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
style: mne_hfo/posthoc.py#L369
Incompatible default for argument "ch_names" (default has type "None", argument has type "list[str] | str") [assignment]
style: mne_hfo/posthoc.py#L369
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
style: mne_hfo/posthoc.py#L369
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
style: mne_hfo/posthoc.py#L370
Incompatible default for argument "label" (default has type "None", argument has type "str") [assignment]
style: mne_hfo/posthoc.py#L370
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
style: mne_hfo/posthoc.py#L370
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
style: mne_hfo/io.py#L128
Incompatible default for argument "root" (default has type "None", argument has type "Path") [assignment]
pytest ubuntu - py3.8 - MNE stable
Process completed with exit code 1.
pytest ubuntu - py3.11 - MNE stable
Process completed with exit code 1.
pytest ubuntu - py3.8 - MNE main
Process completed with exit code 1.
pytest macos - py3.11 - MNE main
Process completed with exit code 1.
pytest ubuntu - py3.11 - MNE main
Process completed with exit code 1.
pytest windows - py3.11 - MNE stable
Process completed with exit code 1.
pytest windows - py3.8 - MNE main
Process completed with exit code 1.
pytest macos - py3.11 - MNE stable
Process completed with exit code 1.
pytest macos - py3.8 - MNE stable
Process completed with exit code 1.
pytest macos - py3.8 - MNE main
Process completed with exit code 1.
pytest windows - py3.8 - MNE stable
Process completed with exit code 1.
pytest windows - py3.11 - MNE main
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
package Expired
82.9 KB