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

Fix Scrutinizer ssg module issues - #1 #2975

Merged

Conversation

cipherboy
Copy link
Contributor

Description:

First of PRs to fix various issues that Scrutinizer found during and before the move. All should be relatively minor issues. Also will fix feedback from PEP8 in most cases.

@pep8speaks
Copy link

pep8speaks commented Jun 15, 2018

Hello @cipherboy! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on June 15, 2018 at 17:42 Hours UTC

ssg/_oval.py Outdated
defname = _add_elements(body, header)
if defname == None:
print("Error while evaluating oval: defname not set; missing "
"definitions section?")
Copy link
Member

Choose a reason for hiding this comment

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

print this to stderr via file=sys.stderr

@cipherboy cipherboy force-pushed the fix-scrutinizer-ssg-issues-1 branch 2 times, most recently from 1c01a2a to 0eb9388 Compare June 15, 2018 17:24
@cipherboy cipherboy changed the title Fix Scrutinizer ssg module issues - #1 [WIP] Fix Scrutinizer ssg module issues - #1 Jun 15, 2018
@cipherboy cipherboy force-pushed the fix-scrutinizer-ssg-issues-1 branch from 0eb9388 to a565756 Compare June 15, 2018 17:36
@cipherboy cipherboy changed the title [WIP] Fix Scrutinizer ssg module issues - #1 Fix Scrutinizer ssg module issues - #1 Jun 15, 2018
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
@cipherboy cipherboy force-pushed the fix-scrutinizer-ssg-issues-1 branch from a565756 to 1d2a0e6 Compare June 15, 2018 17:42
@scrutinizer-notifier
Copy link

The inspection completed: 38 new issues, 2 updated code elements

@cipherboy
Copy link
Contributor Author

Of course they don't show how many issues I fixed. :P

38 issues (12 minor, 26 informational) were introduced.
154 issues were fixed.

@mpreisler This is ready for a review / merge.

@mpreisler mpreisler added this to the 0.1.40 milestone Jun 15, 2018
@mpreisler mpreisler self-assigned this Jun 15, 2018
@mpreisler
Copy link
Member

ACK

@mpreisler mpreisler merged commit 442b6ba into ComplianceAsCode:master Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants