API Reference¶
Simple API¶
- fixit.fixit_paths(paths: Iterable[Path]) Generator[Result, None, None] ¶
Lint multiple files or directories, recursively expanding each path.
Advanced API¶
- fixit.fixit_bytes(path: Path, content: bytes, *, config: Config) Generator[Result, None, None] ¶
Lint raw bytes content representing a single path, using the given configuration.
- class fixit.Config(path: ~pathlib.Path = <factory>, root: ~pathlib.Path = <factory>, enable: ~typing.List[~fixit.ftypes.QualifiedRule] = <factory>, disable: ~typing.List[~fixit.ftypes.QualifiedRule] = <factory>, options: ~typing.Dict[str, ~typing.Dict[str, str | int | float]] = <factory>)¶
Materialized configuration valid for processing a single file