Skip to content

Raise a TypeError in the Plugin abstract base class when no args provided #112

Description

I think that, in the specific case where an application is invoked with no input arguments, there is a reasonable expectation that the abstract class should raise an exception rather than continue execution, even if derived classes would ultimately raise one themselves. A user explicitly providing no inputs is likely an error, and failing fast would provide clearer feedback. It would also guard against cases where input validation has not been implemented correctly in downstream classes.

Tangentially raised in PR #111

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions