Fix spurious line endings, don't allow ruff-format to fail anymore
This commit is contained in:
parent
928d5ef300
commit
32f2a7ce70
2 changed files with 7 additions and 8 deletions
|
|
@ -69,7 +69,6 @@ ruff-lint:
|
|||
ruff-format:
|
||||
stage: analysis
|
||||
extends: .python
|
||||
allow_failure: true
|
||||
script:
|
||||
- ruff format --check
|
||||
|
||||
|
|
|
|||
|
|
@ -826,7 +826,7 @@ class SmartScanThing(Thing):
|
|||
except Exception as e:
|
||||
logger.error(
|
||||
f"The scan stopped because of an error: {e}",
|
||||
"We will attempt to stitch and archive the images acquired " "so far.",
|
||||
"We will attempt to stitch and archive the images acquired so far.",
|
||||
exc_info=e,
|
||||
)
|
||||
raise e
|
||||
|
|
@ -1193,7 +1193,7 @@ class SmartScanThing(Thing):
|
|||
)
|
||||
# logger.info("Creating zip archive of images (may take some time)...")
|
||||
|
||||
zip_fname = f'{os.path.join(scan_folder, "images")}.zip'
|
||||
zip_fname = f"{os.path.join(scan_folder, 'images')}.zip"
|
||||
|
||||
# Create an empty zip file - we don't want to autofill it with files,
|
||||
# as some of them should only be added at the end (as we can't overwrite)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue