Skip to content

Fix a bunch of code smells and a Py<3.8 error #179

Fix a bunch of code smells and a Py<3.8 error

Fix a bunch of code smells and a Py<3.8 error #179

Triggered via push December 24, 2023 18:16
Status Failure
Total duration 25m 2s
Artifacts 5
Matrix: run_pytest
Publish Unit Tests Results
9s
Publish Unit Tests Results
coverage-finish
0s
coverage-finish
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 12 warnings
run-tests (3.7, ubuntu-latest)
Process completed with exit code 2.
run-tests (3.9, ubuntu-latest)
Process completed with exit code 2.
run-tests (3.10, ubuntu-latest)
Process completed with exit code 2.
run-tests (3.8, ubuntu-latest)
Process completed with exit code 2.
All 4 runs with error: tests.Stoner.test_Analysis: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_Core: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_FileFormats: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_HDF5: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_Util: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_Zip: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.test_doc_samples: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_core: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_folder: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_kerr: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_listfuncs: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_stack: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.Image.test_wdigets: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.analysis.test_columns: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.analysis.test_filtering: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.analysis.fitting.test_mixins: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.core.test_exceptions: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.core.test_interface: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.core.test_operators: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.core.test_setas: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.core.test_typeHintedDict: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.folders.test_Folders: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.folders.test_each: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.folders.test_metadata: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.folders.test_mixins: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.plot.test_plot: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.tools.test_classes: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.tools.test_formatting: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.tools.test_tests: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
All 4 runs with error: tests.Stoner.tools.test_widgets: /#L0
artifacts/Unit Test Results (Python 3.10)/pytest.xml artifacts/Unit Test Results (Python 3.7)/pytest.xml artifacts/Unit Test Results (Python 3.8)/pytest.xml artifacts/Unit Test Results (Python 3.9)/pytest.xml
run-tests (3.7, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-tests (3.7, ubuntu-latest)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
run-tests (3.9, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-tests (3.9, ubuntu-latest)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
run-tests (3.10, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-tests (3.10, ubuntu-latest)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
run-tests (3.8, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-tests (3.8, ubuntu-latest)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
run-tests (3.11, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-tests (3.11, ubuntu-latest)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
Publish Unit Tests Results
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish Unit Tests Results
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
Unit Test Results (Python 3.10) Expired
76.7 KB
Unit Test Results (Python 3.11) Expired
32.5 KB
Unit Test Results (Python 3.7) Expired
20.6 KB
Unit Test Results (Python 3.8) Expired
76.3 KB
Unit Test Results (Python 3.9) Expired
76.4 KB