Commit 0325608
Pass --explicit-package-bases to mypy by default (DataDog#23742)
* Add --explicit-package-bases to default mypy_args
Always prepend --explicit-package-bases to the mypy command built by the
datadog-checks Hatch environment collector. The flag is structurally
required by every integration's datadog_checks/<name>/ namespace package
layout, so integrations that enable check-types = true no longer need to
repeat it in their own hatch.toml. It is also a no-op on the few
integrations that ship a datadog_checks/__init__.py.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Add changelog
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ea18f7f commit 0325608
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments