Skip to content

Commit 60e7c0b

Browse files
committed
NFC: apply black
1 parent d9a054a commit 60e7c0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyomo/common/download.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ def filter_fcn(info):
439439
# Strip high bits & group/other write bits
440440
info.mode &= 0o755
441441
return True
442-
if sys.version_info[:2] < (3,12):
442+
443+
if sys.version_info[:2] < (3, 12):
443444
tar_args = {}
444445
else:
445446
# Add a tar filter to suppress deprecation warning in Python 3.12+

pyomo/common/tests/test_log.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ def test_no_base(self):
193193
def test_no_message(self):
194194
self.handler.setFormatter(
195195
LegacyPyomoFormatter(
196-
base=os.path.dirname(__file__),
197-
verbosity=lambda: is_debug_set(logger),
196+
base=os.path.dirname(__file__), verbosity=lambda: is_debug_set(logger)
198197
)
199198
)
200199

0 commit comments

Comments
 (0)