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

Conversation

ChanceNCounter
Copy link
Contributor

  • Replace integer values with enum values for clarity
  • Simplify exception thrown on incompatible input
  • Pythonify (and de-Chanceify) zero-output logic

Description

I left some nonsense behind the last time I touched these functions. This PR addresses the nonsense.

How to test

CI should cover it

Contributor license agreement signed?

CLA [ yes ]

* Replace integer values with enum values for clarity
* Simplify exception thrown on incompatible input
* Pythonify (and de-Chanceify) zero-output logic
@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Dec 17, 2019
@forslund
Copy link
Collaborator

Thanks chance, this looks very good. Merging now. (At some-point I should start de-forsludify core as well)

@forslund forslund merged commit ac874ec into MycroftAI:dev Dec 18, 2019
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.

3 participants