Lines Matching refs:fn
67 def check_syntax(fn, lines):
75 compile(code, fn, 'exec')
81 def check_suspicious_constructs(fn, lines):
96 def check_whitespace(fn, lines):
108 def check_line_length(fn, lines):
122 def check_leaked_markup(fn, lines):
180 for fn in files:
181 fn = join(root, fn)
182 if fn[:2] == './':
183 fn = fn[2:]
186 if abspath(fn) in ignore:
189 ext = splitext(fn)[1]
195 print('Checking %s...' % fn)
198 with open(fn, 'r', encoding='utf-8') as f:
201 print('%s: cannot open: %s' % (fn, err))
210 for lno, msg in checker(fn, lines):
211 print('[%d] %s:%d: %s' % (csev, fn, lno, msg))