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

Remove abstractmethod for MycroftSkill.stop() #2156

Merged
merged 1 commit into from
Jun 10, 2019

Conversation

penrods
Copy link
Contributor

@penrods penrods commented Jun 10, 2019

The MycroftSkill.stop() method does not need to be implemented by the majority of skills, no reason to require its implementation with an abstractmethod decorator.

How to test

No real behavioral impact.

The MycroftSkill.stop() method does not need to be implemented by the majority of skills, no reason to 'require' its implementation with an abstractmethod.
@penrods penrods added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Jun 10, 2019
@forslund
Copy link
Collaborator

Indeed, I don't even think this has been working as intended because I've run several skills without a stop method.

Merging.

@forslund forslund merged commit dda8c99 into dev Jun 10, 2019
@penrods penrods deleted the feature/remove-abstract-on-stop branch June 11, 2019 14:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants