Skip to content

Commit 6877618

Browse files
committed
fix pylint R1726: simplify boolean condition
Remove redundant 'or False' from bool() conversion. Assisted-by: Claude Opus 4.6
1 parent a346b17 commit 6877618

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opentelemetry-sdk/src/opentelemetry/sdk/_configuration/_meter_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def _create_prometheus_metric_reader(config) -> MetricReader:
411411
"Install it with: pip install opentelemetry-exporter-prometheus"
412412
) from exc
413413

414-
disable_target_info = bool(config.without_target_info_development or False)
414+
disable_target_info = bool(config.without_target_info_development)
415415

416416
if config.without_scope_info is not None:
417417
_logger.warning(

0 commit comments

Comments
 (0)