This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import logging | |
| import argparse | |
| logger = logging.getLogger(__name__) | |
| def scan_and_fix_if_needed(module_path, dry_run=False): | |
| # first read in the file | |
| logger.info(f"scanning module {module_path}") |