(directory)
| 60 | |
| 61 | |
| 62 | def check_dir(directory): |
| 63 | errors = 0 |
| 64 | file_list = os.listdir(directory) |
| 65 | for file in file_list: |
| 66 | path = directory + file |
| 67 | if os.path.isdir(path): |
| 68 | if file not in ("external", "generated", "rust-bridge"): |
| 69 | errors += check_dir(path + "/") |
| 70 | elif file.endswith(".h") and file != "keynames.h": |
| 71 | errors += check_file(path) |
| 72 | return errors |
| 73 | |
| 74 | |
| 75 | if __name__ == "__main__": |
no test coverage detected