Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent exceptions if a user doesn't reply to an ask_yesno prompt #252

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

NeonDaniel
Copy link
Member

No description provided.

@NeonDaniel NeonDaniel requested a review from a team January 12, 2023 00:52
@codecov
Copy link

codecov bot commented Jan 12, 2023

Codecov Report

Merging #252 (26fa011) into dev (6ceb058) will increase coverage by 4.53%.
The diff coverage is 43.57%.

❗ Current head 26fa011 differs from pull request most recent head 48013e9. Consider uploading reports for the commit 48013e9 to get more accurate results

@@            Coverage Diff             @@
##              dev     #252      +/-   ##
==========================================
+ Coverage   50.35%   54.88%   +4.53%     
==========================================
  Files         119      156      +37     
  Lines       10077     9357     -720     
==========================================
+ Hits         5074     5136      +62     
+ Misses       5003     4221     -782     
Impacted Files Coverage Δ
mycroft/audio/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/arduino.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/eyes.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/mouth.py 0.00% <0.00%> (ø)
mycroft/client/speech/__main__.py 0.00% <0.00%> (ø)
mycroft/client/speech/hotword_factory.py 0.00% <0.00%> (-88.89%) ⬇️
mycroft/client/speech/service.py 0.00% <0.00%> (ø)
mycroft/client/speech/silence.py 0.00% <0.00%> (-42.86%) ⬇️
mycroft/client/text/__init__.py 0.00% <0.00%> (ø)
... and 151 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@j1nx j1nx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't say much but this is even simple enough for me to understand ;)

@JarbasAl JarbasAl merged commit 9e7c6db into dev Jan 17, 2023
@JarbasAl JarbasAl deleted the FIX_YesOrNoResponse branch January 17, 2023 14:38
NeonDaniel added a commit to OpenVoiceOS/OVOS-workshop that referenced this pull request Jan 17, 2023
JarbasAl added a commit to OpenVoiceOS/OVOS-workshop that referenced this pull request Jan 18, 2023
* feat/SkillNetworkRequirements

* rename args for clariy

* classproperty

* refactor the old patches module

deduplicate code between ovos-core and workshop

support get_response refactor

* fix __new__

* refactor/standalone_skill_class to avoid mycroft module import mess

* temp update workflows for unittests from open PRs

* fix setup.py

* .

* .

* metaclass for instanchecks

* metaclass for instanchecks

* get_response

* fix imports

* require ovos_lf

* move killable_intents support to base class

* inject skill features into vanila mycroft

* keep enums together

* fix metaclass

* tests

* tests

* tests

* mycroft-core compat

* mycroft-core compat

* mycroft-core compat

* bump outils

* bump outils

* make some props private

* Patch backwards compat. (#37)

* Cleanup logging for backwards-compat init

* Add flag to disable settings manager
Default AbstractApp base class to not use settings manager

* Pass `enable_settings_manager` kwarg from OVOSAbstractApplication init

* Fix settings manager init flag with unit tests

* Resolve bad import
Cleanup logging in init

* Resolve editor import errors

* Add `bus` setter for backwards-compat with unit test

* Cleanup import logic

* Skip SettingsManager test under mycroft-core

* Address PR feedback

* Annotate future test dependency change

* Fix comment formatting

* Port changes from #35 to base MycroftSkill class

* OVOSAbstractApplication  backwards-compat. (#38)

* Handle passed App configuration with unit tests

* Handle passed `gui` arg with unit test

* Override settings path for AbstractApplications
Mark passed settings init as deprecated

* Add settings test cases

* Port OpenVoiceOS/ovos-core#252

* Resolve Automated Test Failures (#39)

* Ignore setuptools bug failing pip-audit

* Improve tests to test expected behavior and not test quirks of out-of-scope implementations

* Patch BaseSkill methods to resolve ovos-core unit test failures (#40)

* Fix typo in port of #37

* Update `is_ovos` references to `ovos_utils`

* Remove unused `util` module

* Update `is_ovos` references

* Fix recursive call in instancecheck

* Fix isinstance checks

* Add FallbackSkill test case

* Port tests from ovos-core that apply to relocated code (#41)

* Port core skill tests (#42)

* Add `adapt` to test requirements

* Resolve broken import

* Update adapt test dependency

* Fix test relative import error

* Add resources for unit tests
Skip failing test

* Fix typo in skipped test

Co-authored-by: Daniel McKnight <[email protected]>
Co-authored-by: Daniel McKnight <[email protected]>
@JarbasAl JarbasAl mentioned this pull request Jan 26, 2023
23 tasks
@JarbasAl JarbasAl added this to the 0.0.6 milestone Jan 26, 2023
@JarbasAl JarbasAl added the bug Something isn't working label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants