(
self, filename: str | os.PathLike[str], options: dict[str, Any], config: Config
)
| 203 | ] |
| 204 | |
| 205 | def __init__( |
| 206 | self, filename: str | os.PathLike[str], options: dict[str, Any], config: Config |
| 207 | ) -> None: |
| 208 | self.filename = _StrPath(filename) |
| 209 | self.options = options |
| 210 | self.encoding = options.get('encoding', config.source_encoding) |
| 211 | self.lineno_start = self.options.get('lineno-start', 1) |
| 212 | |
| 213 | self.parse_options() |
| 214 | |
| 215 | def parse_options(self) -> None: |
| 216 | for option1, option2 in self.INVALID_OPTIONS_PAIR: |
nothing calls this directly
no test coverage detected