Closed jan-cerny closed 7 months ago
Hello @jan-cerny! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
It really feels like the code (and developers' personal preferences) is asking for the line length limit to be 120 instead of 100.
Not really. All the lines that are flagged as too long are in the list of URLs (KNOWN_REFERENCES
) because the URLs are long. I think we can waive this occurrence as a special case. I think it's more useful to keep the URLs as they are instead of splitting them by a backlash because if they are kept as they are they can be easily identified by grep
when a need to update them arise.
I have add comments for the pylint tool
I have extend the condition to account empty strings in href.
We will sort and show the references grouped by reference target. The well-known references will be labeled. This makes the "References" section of rule detail actually useful.
For example:
Fixes: https://github.com/OpenSCAP/openscap-report/issues/154