Lines Matching refs:path
112 EXCLUDE_DIRECTORIES[i] = os.path.abspath(directory)
121 if os.path.join(root, d) not in EXCLUDE_DIRECTORIES]
142 path = os.path.join(root, filename)
148 with open(path, encoding="utf-8") as file:
154 format(path))
162 print('{}:{} has trailing space'.format(line, path))
166 if not is_valid_type(os.path.basename(path)):
177 .format(keyword, path, line,
185 print('Blank line at the end of file --> {}'.format(path))
197 print('{} has mixed line endings'.format(path))
200 print('{} has non-UNIX line endings'.format(path))
208 print("Trimming {}...".format(path))
211 print("Correcting {}...".format(path))
215 with open(path, 'w') as file: