Fix release error due to later loading of extruder settings #123
Annotations
2 errors and 2 warnings
/home/runner/work/continuousprint/continuousprint/continuousprint/thirdparty/spoolmanager.py#L13
def get_materials(self):
try:
materials = self._impl.api_getSelectedSpoolInformations()
materials = [
- f"{m['material']}_{m['colorName']}_{m['color']}"
- if m is not None
- else None
+ (
+ f"{m['material']}_{m['colorName']}_{m['color']}"
+ if m is not None
+ else None
+ )
for m in materials
]
return materials
except Exception as e:
self._logger.warning(
|
/home/runner/work/continuousprint/continuousprint/continuousprint/storage/queries.py#L488
.join_from(EventHook, Preprocessor, JOIN.LEFT_OUTER)
):
events[e.name].append(
dict(
script=e.script.name,
- preprocessor=e.preprocessor.name
- if e.preprocessor is not None
- else None,
+ preprocessor=(
+ e.preprocessor.name if e.preprocessor is not None else None
+ ),
)
)
return dict(scripts=scripts, events=events, preprocessors=preprocessors)
|
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v1, wearerequired/lint-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|