Skip to content

Commit 138ca0d

Browse files
committed
linter correction after black update
1 parent 302a076 commit 138ca0d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: check-added-large-files
88

99
- repo: https://github.com/psf/black
10-
rev: 23.3.0
10+
rev: 24.3.0
1111
hooks:
1212
- id: black
1313

cosmotech/coal/azure/adx/runner.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ def insert_csv_files(
160160
color = (
161161
"red"
162162
if status == IngestionStatus.FAILURE
163-
else "green"
164-
if status == IngestionStatus.SUCCESS
165-
else "bright_black"
163+
else "green" if status == IngestionStatus.SUCCESS else "bright_black"
166164
)
167165
LOGGER.info(
168166
T("coal.services.adx.status_report").format(table=ingestion_ids[_id], status=status.name, color=color)

0 commit comments

Comments
 (0)