-
Notifications
You must be signed in to change notification settings - Fork 296
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
feature/cif3-output #2244
feature/cif3-output #2244
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @mdavis332 for this excellent PR, both in terms of code quality as well as in terms of usefulness. I believe CIF3 was long on the wish list for many users.
I can't review the correctness of the code and docs as I don't have the resources to create a testing infrastructure for this. Happy if someone else @certtools/intelmq-contributors could do that.
Only some small remarks on the code, see the comments.
The pycodestyle test fails with:
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## develop #2244 +/- ##
===========================================
- Coverage 76.91% 76.22% -0.70%
===========================================
Files 454 456 +2
Lines 24120 24090 -30
Branches 3516 3812 +296
===========================================
- Hits 18553 18362 -191
- Misses 4793 4980 +187
+ Partials 774 748 -26
|
Thanks @sebix for the thorough review. I've tried to resolve your suggestions or reply where feedback may still be helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the corrections. We're very close.
pycodestyle
complains about:
intelmq/bots/outputs/cif3/output.py:96:17: E225 missing whitespace around operator
intelmq/bots/outputs/cif3/output.py:113:13: E128 continuation line under-indented for visual indent
intelmq/bots/outputs/cif3/output.py:114:13: E128 continuation line under-indented for visual indent
intelmq/bots/outputs/cif3/output.py:138:21: E131 continuation line unaligned for hanging indent
intelmq/bots/outputs/cif3/output.py:213:18: W291 trailing whitespace
Hi @sebix, apologies for the very long delay. I've tried to address the issues you noted. Please let me know if there's anything else you see that need to be finalized before merging. |
Co-authored-by: Sebastian <sebix@sebix.at>
Co-authored-by: Sebastian <sebix@sebix.at>
I have fixed the remaining minor issues directly. After the tests pass, this PR is ready for merge |
Thank you very much, Michael, for the will to contribute in the first place and all your time creating this PR and your endurance! |
This pull request intends to add a new output bot for sending indicators to a Collective Intelligence Framework v3 instance API.