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

AUDITOR plugin: fix for config without components #290

Merged
merged 2 commits into from
Mar 14, 2023

Conversation

dirksammel
Copy link
Contributor

The AUDITOR plugin currently crashes when no components are defined in the config, despite being marked as "optional" in the documentation.
This PR fixes this by simply continuing in such cases.

@giffels giffels requested review from a team, giffels and mschnepf and removed request for a team March 9, 2023 14:50
@giffels giffels added the bug Something isn't working label Mar 9, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (a55ab6a) 98.80% compared to head (bec7410) 98.80%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #290   +/-   ##
=======================================
  Coverage   98.80%   98.80%           
=======================================
  Files          56       56           
  Lines        2339     2342    +3     
=======================================
+ Hits         2311     2314    +3     
  Misses         28       28           
Impacted Files Coverage Δ
tardis/plugins/auditor.py 100.00% <100.00%> (ø)

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@mschnepf mschnepf left a comment

Choose a reason for hiding this comment

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

Looks fine for me. Thanks for the fix. 👍

Copy link
Member

@giffels giffels left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the contribution.

@giffels giffels added this pull request to the merge queue Mar 14, 2023
Merged via the queue into MatterMiners:master with commit 799757e Mar 14, 2023
@dirksammel dirksammel deleted the fix_auditor_components branch March 14, 2023 16:17
giffels added a commit to giffels/tardis that referenced this pull request Apr 4, 2023
giffels added a commit to giffels/tardis that referenced this pull request Apr 5, 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.

4 participants