()
| 147 | g.write(line) |
| 148 | |
| 149 | def check_bakfiles(): |
| 150 | bakpaths = [pth for pth in all_filepaths() if pth.endswith('.bak')] |
| 151 | if len(bakpaths) > 0: |
| 152 | raise Exception("Fatal: backup files ('.bak') detected: %s" % ', '.join(bakpaths)) |
| 153 | |
| 154 | def check_swapfiles(): |
| 155 | swappaths = [pth for pth in all_filepaths() if pth.endswith('.swp')] |
no test coverage detected