---------------------------------------------------------------------- This is the API documentation for the pytest_notebook_policy library. ---------------------------------------------------------------------- ## Dataclasses Dataclass definitions Violation(path: 'Path', line: 'int', code: 'str', message: 'str') -> None Violation(path: 'Path', line: 'int', code: 'str', message: 'str') ## Functions Utility functions scan_file(path: 'Path', select: 'set[str]', ignore: 'set[str]', jupyter_source: 'str' = 'ipynb', max_code_cells: 'int' = 20, max_cell_lines: 'int' = 80, max_inline_definitions: 'int' = 3) -> 'list[Violation]'