Description
Current problem
With R0913 too-many-arguments now including keyword arguments (#8667), the reasonable setting for max-args
is now larger, since it's not really a problem to have a dozen keyword-only arguments.
However, having a dozen positional arguments remains a poor design.
Desired solution
A new warning for too many positional arguments, with a separately configurable maximum. This would warn when there are more than a very small number of positional arguments (including positional-only arguments).
This would be in addition to the existing too-many-arguments warning.
Additional context
This has been previously suggested in comments on #8667