Describe the bug
Pip emits a deprecation warning when installing detect-secrets because the package is built using the legacy setup.py bdist_wheel mechanism. The message notes that pip 25.3 will enforce this behaviour change and suggests using the standard PEP 517 build interface or adding a pyproject.toml file to the source tree.
Expected behavior
No deprecation warning when installing; the package should build via the PEP 517 interface using a pyproject.toml file.
Impact
Users upgrading to newer versions of pip (e.g. 25.x) will be unable to install detect-secrets without explicitly enabling --use-pep517. This warning indicates that support for legacy builds will be removed soon, so packaging should be updated.
Additional context
A pull request to add a pyproject.toml file and resolve this deprecation warning has been opened: #168.