Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Pylint plugin that generates JUnit based report that can be consumed by CI environments like Jenkins, Azure Devops and such.
At the time of writing, few tools existed that where able to generate JUnit format from pylint output. Both of these projects where not handling "empty" results scenario well, eg both cases generated an empty file and that caused issues in ci as the resulting document was not proper xml file. Another issue was that issues found by pylint where marked under single testcase failure and this caused atleast Azure to report a single item per file even thought there could have been multiple.
Thus, pylint_junit was written.
Install the package with
.. code-block::
pip install pylint_junit
or add it to your requirements.
After the plugin has been installed there are few options to take it into use.
Add following lines into your .pylintrc:
.. code-block::
[MASTER] load-plugins=pylint_junit [REPORTS] output-format=junit
This does set the default output to junit, so if still want to run pylint and get normal output, you might want to consider omitting the "output-format=junit" portion and only when junit format is needed, provide it via command line like this:
.. code-block::
pylint --output-format=junit src/
Or, without making any changes to your pylint configuration, you can just pass the class as report formatter like this:
.. code-block::
pylint --output-format=pylint_junit.JUnitReporter src/
__ https://github.com/kyrus/python-junit-xml
Use Github Issues Tracker @ https://github.com/rasjani/pylint_junit/issues
FAQs
pylint reporter for junit format.
We found that pylint-junit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.