Home | History | Annotate | Download | only in tools

Lines Matching refs:fn

66 def check_syntax(fn, lines):
74 compile(code, fn, 'exec')
80 def check_suspicious_constructs(fn, lines):
95 def check_whitespace(fn, lines):
107 def check_line_length(fn, lines):
121 def check_leaked_markup(fn, lines):
179 for fn in files:
180 fn = join(root, fn)
181 if fn[:2] == './':
182 fn = fn[2:]
185 if abspath(fn) in ignore:
188 ext = splitext(fn)[1]
194 print('Checking %s...' % fn)
197 with open(fn, 'r', encoding='utf-8') as f:
200 print('%s: cannot open: %s' % (fn, err))
209 for lno, msg in checker(fn, lines):
210 print('[%d] %s:%d: %s' % (csev, fn, lno, msg))