Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

tidy: misc.Action_Exit: figure out and fix __call__() #1878

Open
reidpr opened this issue Mar 22, 2024 · 0 comments
Open

tidy: misc.Action_Exit: figure out and fix __call__() #1878

reidpr opened this issue Mar 22, 2024 · 0 comments

Comments

@reidpr
Copy link
Collaborator

reidpr commented Mar 22, 2024

Split from #1860. Pylint: W0223 abstract-method

charliecloud/lib/misc.py

Lines 20 to 23 in 5ceefa7

class Action_Exit(argparse.Action):
def __init__(self, *args, **kwargs):
super().__init__(nargs=0, *args, **kwargs)

Complaint:

Method __call__ is abstract in class Action but is not overridden in child class Action_Exit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant