blob: 557f0b9f4d7c319f7f2361b476fe64b9f541e477 [file] [log] [blame]
# coding: utf-8
from __future__ import unicode_literals
import os
from pylint.lint import Run
cur_dir = os.path.dirname(__file__)
rc_path = os.path.join(cur_dir, './.pylintrc')
print('Running pylint...')
files = [
'__init__.py',
'algos.py',
'cms.py',
'core.py',
'crl.py',
'keys.py',
'ocsp.py',
'pdf.py',
'pkcs12.py',
'teletex_codec.py',
'tsa.py',
'x509.py',
]
args = ['--rcfile=%s' % rc_path]
args += ['asn1crypto/' + f for f in files]
Run(args)