Skip to content

Make WPS222 configurable #3493

@sobolevn

Description

@sobolevn

Currently we use MAX_CONDITIONS: Final = 4 as a constant in constants.py. There's no way to configure MAX_CONDITIONS.

However, there might be projects where 5 or even 8 might be reasonable.
So, let's add a configuration option with the same default for this rule.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions