Commit a4ffd34
feat: disable telemetry via pyproject.toml [tool.openadapt] (#5)
Enterprises can commit one file to disable telemetry for all devs:
[tool.openadapt]
telemetry = false
Walks up from cwd to find nearest pyproject.toml. Uses tomllib
(stdlib 3.11+) or tomli fallback. Only checks the first pyproject.toml
found (nearest to cwd).
Priority: DO_NOT_TRACK > OPENADAPT_TELEMETRY_ENABLED > pyproject.toml > CI detection.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9b2811c commit a4ffd34
1 file changed
+42
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
40 | 75 | | |
| 76 | + | |
41 | 77 | | |
42 | 78 | | |
43 | 79 | | |
| 80 | + | |
44 | 81 | | |
45 | 82 | | |
46 | 83 | | |
47 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
48 | 90 | | |
49 | 91 | | |
50 | 92 | | |
| |||
0 commit comments