Open a file with the EOL style determined from Git.
(*args, **kwargs)
| 324 | |
| 325 | |
| 326 | def smart_open(*args, **kwargs): # type: ignore[no-untyped-def,unused-ignore] # noqa: ANN201 |
| 327 | """Open a file with the EOL style determined from Git.""" |
| 328 | return open(*args, newline=EOLType.for_open(), **kwargs) |
| 329 | |
| 330 | |
| 331 | def _get_log_as_str_list(start: str | None, end: str, args: Sequence[str]) -> list[str]: |
no test coverage detected
searching dependent graphs…