Check that all DFHack scripts include documentation
()
| 64 | |
| 65 | |
| 66 | def main(): |
| 67 | """Check that all DFHack scripts include documentation""" |
| 68 | err = 0 |
| 69 | exclude = {'.git', 'internal', 'test'} |
| 70 | for root, dirs, files in os.walk(SCRIPT_PATH, topdown=True): |
| 71 | dirs[:] = [d for d in dirs if d not in exclude] |
| 72 | for f in files: |
| 73 | if f.split('.')[-1] in {'rb', 'lua'}: |
| 74 | err += check_file(join(root, f)) |
| 75 | return err |
| 76 | |
| 77 | |
| 78 | if __name__ == '__main__': |
no test coverage detected