()
| 112 | |
| 113 | |
| 114 | def cli() -> argparse.Namespace: |
| 115 | parser = argparse.ArgumentParser( |
| 116 | description='Check if the code-block follows a blank line format.' |
| 117 | ) |
| 118 | parser.add_argument( |
| 119 | 'files', type=str, nargs='+', help='files to be checked' |
| 120 | ) |
| 121 | args = parser.parse_args() |
| 122 | return args |
| 123 | |
| 124 | |
| 125 | def expand_glob(files) -> list[Path]: |