mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-17 16:37:40 +08:00
Add pylint configuration and instructions
pylint configuration file (.pylintrc) is added, and submission instructions are updated to include pylint usage steps. Deprecated pylint suppression (`disable-msg`) is updated in a few modules to make it work properly with the latest version (0.26). Change-Id: I4ec2ef318e23557a374ecdbf40fe12645766830c
This commit is contained in:
@ -147,7 +147,7 @@ class Command(object):
|
||||
result.sort(key=_getpath)
|
||||
return result
|
||||
|
||||
# pylint: disable-msg=W0223
|
||||
# pylint: disable=W0223
|
||||
# Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not
|
||||
# override method `Execute` which is abstract in `Command`. Since that method
|
||||
# is always implemented in classes derived from `InteractiveCommand` and
|
||||
@ -166,7 +166,7 @@ class PagedCommand(Command):
|
||||
def WantPager(self, opt):
|
||||
return True
|
||||
|
||||
# pylint: enable-msg=W0223
|
||||
# pylint: enable=W0223
|
||||
|
||||
class MirrorSafeCommand(object):
|
||||
"""Command permits itself to run within a mirror,
|
||||
|
Reference in New Issue
Block a user