Skip to content

Commit

Permalink
allowing to disable telemetry even with _PLOOMBER_TELEMETRY_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Aug 11, 2023
1 parent be4b23a commit 786a97d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ploomber_core/telemetry/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ def check_telemetry_enabled():
2. If PLOOMBER_STATS_ENABLED defined, check its value
3. Otherwise use the value in stats_enabled in the config.yaml file
"""
if "_PLOOMBER_TELEMETRY_DEBUG" in os.environ:
return True

if "CI" in os.environ or "READTHEDOCS" in os.environ:
return False

Expand Down

0 comments on commit 786a97d

Please sign in to comment.