Skip to content

Commit e863e96

Browse files
author
Romain Dartigues
committed
systemvm: pylint conformance work in progress
I kept the changes at the minimum to make pylint happy, I don't expect regressions. Using default configuration: > Your code has been rated at 8.92/10 (previous run: 7.81/10, +1.11) * pylint 1.5.5, * astroid 1.4.5 * Python 2.7.11 (default, Feb 22 2016, 09:22:43) * [GCC 4.8.2] Previous run is before the patch: +-----------+--------+-------+----------+------------+ | type | number | % | previous | difference | +===========+========+=======+==========+============+ | code | 3569 | 64.76 | 3582 | -13.00 | +-----------+--------+-------+----------+------------+ | docstring | 356 | 6.46 | 330 | +26.00 | +-----------+--------+-------+----------+------------+ | comment | 773 | 14.03 | 788 | -15.00 | +-----------+--------+-------+----------+------------+ | empty | 813 | 14.75 | 820 | -7.00 | +-----------+--------+-------+----------+------------+ +------------+--------+----------+------------+ | type | number | previous | difference | +============+========+==========+============+ | convention | 261 | 466 | -205 | +------------+--------+----------+------------+ | refactor | 28 | 48 | -20 | +------------+--------+----------+------------+ | warning | 43 | 185 | -143 | +------------+--------+----------+------------+ | error | 4 | 5 | -1 | +------------+--------+----------+------------+
1 parent 5d4c391 commit e863e96

31 files changed

+461
-386
lines changed

systemvm/patches/debian/config/opt/cloud/bin/baremetal-vr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#specific language governing permissions and limitations
1616
#under the License.
1717

18-
__author__ = 'frank'
19-
2018
import subprocess
2119
import urllib
2220
import hmac
@@ -27,6 +25,8 @@
2725

2826
from flask import Flask
2927

28+
__author__ = 'frank'
29+
3030
app = Flask(__name__)
3131

3232
logger = logging.getLogger('baremetal-vr')

0 commit comments

Comments
 (0)