| Summary: | Fix pylint reported issues | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Security Response Tool | Reporter: | David Reyna <david.reyna> |
| Component: | General | Assignee: | David Reyna <david.reyna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | ross.burton |
| Version: | 2.7 | ||
| Target Milestone: | 2.7 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
David Reyna
2018-12-19 09:22:28 UTC
1. The reported pylint issues have been resolved. Two exceptions were disabled in "lib/srtgui/urls.py" for code that supports the different APIs between Django-1.11 and Django-2.x. 2. For reference, here was my process for installing and running pylint on my Ubuntu-16.04 host. My host has both Python-2 and Python-3, and the SRTool is designed for Python-3. $ sudo apt install pylint3 $ pip3 install pylint_django $ PYTHONPATH=bin/:lib/ pylint3 --load-plugins pylint_django -E lib Implemented and documented. |