Skip to content

Commit 7f54c7d

Browse files
committed
Clean up
1 parent 8d447c7 commit 7f54c7d

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

ibm_db2/datadog_checks/ibm_db2/ibm_db2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def query_custom(self):
480480
column_type = column.get('type')
481481
if not column_type: # no cov
482482
self.log.error(
483-
'Column field `type` is required for column `%s` ' 'of metric_prefix `%s`',
483+
'Column field `type` is required for column `%s` of metric_prefix `%s`',
484484
name,
485485
metric_prefix,
486486
)
@@ -491,7 +491,7 @@ def query_custom(self):
491491
else:
492492
if not hasattr(self, column_type):
493493
self.log.error(
494-
'Invalid submission method `%s` for metric column `%s` of ' 'metric_prefix `%s`',
494+
'Invalid submission method `%s` for metric column `%s` of metric_prefix `%s`',
495495
column_type,
496496
name,
497497
metric_prefix,
@@ -501,7 +501,7 @@ def query_custom(self):
501501
metric_info.append(('{}.{}'.format(metric_prefix, name), float(value), column_type))
502502
except (ValueError, TypeError): # no cov
503503
self.log.error(
504-
'Non-numeric value `%s` for metric column `%s` of ' 'metric_prefix `%s`',
504+
'Non-numeric value `%s` for metric column `%s` of metric_prefix `%s`',
505505
value,
506506
name,
507507
metric_prefix,

kubelet/datadog_checks/kubelet/prometheus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def _process_limit_metric(self, m_name, metric, cache, scraper_config, pct_m_nam
439439
self.gauge(pct_m_name, float(usage / float(limit)), tags)
440440
else:
441441
self.log.debug(
442-
"No corresponding usage found for metric %s and container %s, skipping usage_pct " "for now.",
442+
"No corresponding usage found for metric %s and container %s, skipping usage_pct for now.",
443443
pct_m_name,
444444
c_name,
445445
)

mysql/datadog_checks/mysql/mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ def _get_stats_from_innodb_status(self, db):
954954
cursor.execute("SHOW /*!50000 ENGINE*/ INNODB STATUS")
955955
except (pymysql.err.InternalError, pymysql.err.OperationalError, pymysql.err.NotSupportedError) as e:
956956
self.warning(
957-
"Privilege error or engine unavailable accessing the INNODB status tables " "(must grant PROCESS): %s",
957+
"Privilege error or engine unavailable accessing the INNODB status tables (must grant PROCESS): %s",
958958
e,
959959
)
960960
return {}

oracle/datadog_checks/oracle/oracle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _get_custom_metrics(self, con, custom_queries, global_tags):
186186
column_type = column.get('type')
187187
if not column_type:
188188
self.log.error(
189-
'column field `type` is required for column `%s` ' 'of metric_prefix `%s`',
189+
'column field `type` is required for column `%s` of metric_prefix `%s`',
190190
name,
191191
metric_prefix,
192192
)
@@ -197,7 +197,7 @@ def _get_custom_metrics(self, con, custom_queries, global_tags):
197197
else:
198198
if not hasattr(self, column_type):
199199
self.log.error(
200-
'invalid submission method `%s` for column `%s` "' '"of metric_prefix `%s`',
200+
'invalid submission method `%s` for column `%s` of metric_prefix `%s`',
201201
column_type,
202202
name,
203203
metric_prefix,
@@ -207,7 +207,7 @@ def _get_custom_metrics(self, con, custom_queries, global_tags):
207207
metric_info.append(('{}.{}'.format(metric_prefix, name), float(value), column_type))
208208
except (ValueError, TypeError):
209209
self.log.error(
210-
'non-numeric value `%s` for metric column `%s` ' 'of metric_prefix `%s`',
210+
'non-numeric value `%s` for metric column `%s` of metric_prefix `%s`',
211211
value,
212212
name,
213213
metric_prefix,

0 commit comments

Comments
 (0)