Lines Matching +full:directory +full:- +full:level
5 """checkappend.py -- search for multi-argument .append() calls.
7 Usage: specify one or more file or directory paths:
8 checkappend [-v] file_or_dir [file_or_dir] ...
10 Each file_or_dir is checked for multi-argument .append() calls. When
11 a directory, all .py files in the directory, and recursively in its
14 Use -v for status msgs. Use -vv for more status msgs.
16 In the absence of -v, the only output is pairs of the form
21 Note that this finds multi-argument append calls regardless of whether
26 Note that this will not find multi-argument list.append calls made via a
57 if opt == '-v':
68 print "%r: listing directory" % (file,)
74 or os.path.normcase(name[-3:]) == ".py"):
137 self.level = 1
145 self.level = self.level + 1
147 self.level = self.level - 1
148 if self.level == 0:
150 elif token == "," and self.level == 1: