blob: 7f5f15b57b3999d4e15b4d9b2eaa3643d5cab0f3 [file] [log] [blame]
# coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
import os
from pylint.lint import Run
cur_dir = os.path.dirname(__file__)
rc_path = os.path.join(cur_dir, '..', '.pylintrc')
def run():
print('Running pylint...')
files = []
for root, _, filenames in os.walk('../asn1crypto/'):
for filename in filenames:
if not filename.endswith('.py'):
continue
files.append(os.path.join(root, filename))
args = ['--rcfile=%s' % rc_path] + files
Run(args)