ruff: Activate UP ruleset

This commit is contained in:
Matthias
2023-03-19 17:57:56 +01:00
parent 222ecdecd2
commit c92f28bf6f
5 changed files with 9 additions and 16 deletions

View File

@@ -464,7 +464,7 @@ class HyperoptTools():
try:
Path(csv_file).open('w+').close()
except IOError:
except OSError:
logger.error(f"Failed to create CSV file: {csv_file}")
return