• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2
3'''
4Scans current directory for *.py files and reports
5ones with missing __doc__ string.
6'''
7
8from glob import glob
9
10if __name__ == '__main__':
11    print '--- undocumented files:'
12    for fn in glob('*.py'):
13        loc = {}
14        execfile(fn, loc)
15        if '__doc__' not in loc:
16            print fn
17