Skip to content

Commit 2a01b1c

Browse files
authored
Update to ruff 0.12.1 (#478)
1 parent 5f3d84f commit 2a01b1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pyscal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def getLogger_pyscal(
3333
args_dict = {}
3434
formatter = logging.Formatter("%(levelname)s:%(name)s:%(message)s")
3535

36-
if args_dict.get("output", None) == "-":
36+
if args_dict.get("output") == "-":
3737
# If main output is to stdout, we must send all logs to stderr:
3838
default_handler = logging.StreamHandler(sys.stderr)
3939
default_handler.setFormatter(formatter)

0 commit comments

Comments
 (0)