Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Use 3 literals in the bad example of G-1050 #205

@PhilippSalvisberg

Description

@PhilippSalvisberg

The guideline G-1050 suggests now that a literal should not be duplicated more than once.

To reduce the number of false positives, the number of occurrences of a literal should be less than 3.

As a result, we should change the bad example. It should use a literal at least 3 times.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions