Skip to content

Add support for comments in --ignore-words file #2063

@Jakuje

Description

@Jakuje

At this moment, the file --ignore-words is taken verbatim as a list of words to ignore. But each of these exceptions or groups of words usually have some reason so I would suggest to implement a functionality to allow comments in this file. Starting a line with # is probably the most common way to write an comment.

From my reading of the code, these lines will result in no matches today as nothing in the dictionary will match anything with #, but having these lines excluded explicitly and documented would hopefully improve maintainability of these ignore files.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions