I disagree – storing configuration for black/ruff etc is not a reasonable indicator that code contained in that directory is intended to be installed as a distribution.
The project section, yes, is currently only usable with distribution; but it’s certainly not an indicator without that.