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

refactor/reduce code complexity #427

Merged
merged 3 commits into from
Mar 2, 2024
Merged

Conversation

JarbasAl
Copy link
Member

@JarbasAl JarbasAl commented Mar 2, 2024

extract an helper method from the utterance handler to improve readibility and reduce code complexity

handle the case where a pipeline plugin returns a bad intent match object

@JarbasAl JarbasAl added the refactor code refactor without functional changes label Mar 2, 2024
@JarbasAl JarbasAl requested a review from a team March 2, 2024 20:24
Copy link

codecov bot commented Mar 2, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 63.98%. Comparing base (6e3242c) to head (93aec67).
Report is 1 commits behind head on dev.

Files Patch % Lines
ovos_core/intent_services/__init__.py 88.88% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #427      +/-   ##
==========================================
- Coverage   63.99%   63.98%   -0.01%     
==========================================
  Files          15       15              
  Lines        2580     2585       +5     
==========================================
+ Hits         1651     1654       +3     
- Misses        929      931       +2     
Flag Coverage Δ
unittests 63.98% <88.88%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JarbasAl JarbasAl added this to the 0.0.8 milestone Mar 2, 2024
extract an helper method from the utterance handler to improve readibility and reduce code complexity

handle the case where a pipeline plugin returns a bad intent match object
extract an helper method from the utterance handler to improve readibility and reduce code complexity

handle the case where a pipeline plugin returns a bad intent match object
@JarbasAl JarbasAl force-pushed the refactor/reduce_code_complexity branch from 6a682d3 to 93aec67 Compare March 2, 2024 20:35
@JarbasAl JarbasAl merged commit 63a95b3 into dev Mar 2, 2024
4 checks passed
@JarbasAl JarbasAl deleted the refactor/reduce_code_complexity branch March 2, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor code refactor without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant