Lines Matching refs:fn
66 def check_syntax(fn, lines): argument
74 compile(code, fn, 'exec')
80 def check_suspicious_constructs(fn, lines): argument
95 def check_whitespace(fn, lines): argument
107 def check_line_length(fn, lines): argument
121 def check_leaked_markup(fn, lines): argument
184 for fn in files:
185 fn = join(root, fn)
186 if fn[:2] == './':
187 fn = fn[2:]
190 if abspath(fn) in ignore:
193 ext = splitext(fn)[1]
199 print 'Checking %s...' % fn
202 with open(fn, 'r') as f:
205 print '%s: cannot open: %s' % (fn, err)
214 for lno, msg in checker(fn, lines):
215 print >>out, '[%d] %s:%d: %s' % (csev, fn, lno, msg)