Closed niall-byrne closed 1 month ago
Thanks for the report, but as doc'd in the release note, you need to use max-positional-arguments
, not max-args.
The point of having the separate message is so that they can can be configured with separate options. Your project may be OK with 6 total args but no more than 5 positional, in which you would configure exactly as you have and desire the result you got.
Thanks for replying with detail.
Bug description
When upgrading to 3.3.0 there seems to be a new bug where the config value for
too-many-positional-arguments
is not honoured, and it falls back to the default of 5.Using pyproject.toml for settings.
Example:
Configuration
Command used
Pylint output
Expected behavior
The configuration override should be respected.
Pylint version
OS / Environment
OSX Monterey
Additional dependencies
No response