()
| 138 | find_replace_file(file, keyword, s) |
| 139 | |
| 140 | def update_individual_module_options(): |
| 141 | regex = re.compile("BBOT MODULE OPTIONS ([A-Z_]+)") |
| 142 | for file in md_files: |
| 143 | with open(file) as f: |
| 144 | content = f.read() |
| 145 | for match in regex.finditer(content): |
| 146 | module_name = match.groups()[0].lower() |
| 147 | bbot_module_options_table = DEFAULT_PRESET.module_loader.modules_options_table(modules=[module_name]) |
| 148 | find_replace_file(file, f"BBOT MODULE OPTIONS {module_name.upper()}", bbot_module_options_table) |
| 149 | |
| 150 | # Example commands |
| 151 | bbot_example_commands = [] |
no test coverage detected
searching dependent graphs…