diff options
Diffstat (limited to 'tools/lint.py')
-rw-r--r-- | tools/lint.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/lint.py b/tools/lint.py index d2a545b..62864eb 100644 --- a/tools/lint.py +++ b/tools/lint.py @@ -12,9 +12,6 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -# -# @author: Zhongyue Luo, Intel Corporation. -# import sys @@ -28,5 +25,6 @@ def main(dirpath): enable_opt = '--enable=%s' % ','.join(ENABLED_PYLINT_MSGS) lint.Run(['--reports=n', '--disable=all', enable_opt, dirpath]) + if __name__ == '__main__': main(sys.argv[1]) |