Skip to content

--help-msg no longer accepts comma separate messages since v2.14.0 #7471

Closed
@yilei

Description

@yilei

I'm not sure if this is intentional since I don't find it mentioned anywhere in the changelog.

In v2.13.9:

$ pylint --help-msg C0102,C0103
:disallowed-name (C0104): *Disallowed name "%s"*
  Used when the name matches bad-names or bad-names-rgxs- (unauthorized names).
  This message belongs to the basic checker.

:invalid-name (C0103): *%s name "%s" doesn't conform to %s*
  Used when the name doesn't conform to naming rules associated to its type
  (constant, variable, class...). This message belongs to the basic checker.

In v2.14.0:

$ pylint --help-msg C0102,C0103
No such message id or symbol 'C0102,C0103'.

Possibly a side effect when migrating to argparse?

I don't think this is a big deal, and not sure if there are other similar affected flags. But it might be still worth mentioning somewhere about this change.

Metadata

Metadata

Assignees

Labels

Discussion 🤔Needs PRThis issue is accepted, sufficiently specified and now needs an implementation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions