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

Simplify output format #13

Merged
merged 5 commits into from
Dec 13, 2021
Merged

Simplify output format #13

merged 5 commits into from
Dec 13, 2021

Conversation

dav3r
Copy link
Member

@dav3r dav3r commented Dec 9, 2021

🗣 Description

This PR simplifies the format of the output CSV so that it only shows the fields that we currently care about.

While I was here, I updated a couple of things to make pylint a little bit less angry (see f537891).

💭 Motivation and context

The old output format is no longer needed. The new format is all that is now required. Out with the old, in with the new.

🧪 Testing

I executed the script and verified that the output looks as expected.

✅ Checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@dav3r dav3r added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label Dec 9, 2021
@dav3r dav3r self-assigned this Dec 9, 2021
Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

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

This code looks fine to me, except that I don't see where the value corresponding to Group Name is ever set.

src/clamav_report/clamav_report.py Outdated Show resolved Hide resolved
Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

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

Clean up on aisle three!

Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

Makes sense 👍 I did have one question for you.

src/clamav_report/clamav_report.py Show resolved Hide resolved
Co-Authored-By: Nick M. <mcdonnnj@users.noreply.github.com>
@dav3r dav3r merged commit 15886d8 into develop Dec 13, 2021
@dav3r dav3r deleted the improvement/update-output-format branch December 13, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants