Package org.sonar.plugins.python
Class IpynbNotebookParser
java.lang.Object
org.sonar.plugins.python.IpynbNotebookParser
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionparse()Parses the notebook's top-level metadata to find the language.static Optional<GeneratedIPythonFile> parseNotebook(PythonInputFile inputFile)
-
Field Details
-
SONAR_PYTHON_NOTEBOOK_CELL_DELIMITER
- See Also:
-
-
Method Details
-
parseNotebook
-
parse
- Throws:
IOException
-
parseLanguage
Parses the notebook's top-level metadata to find the language. Only checks metadata.kernelspec.language and metadata.language_info.name, ignoring any language fields in cell metadata.- Throws:
IOException
-
parseNotebook
- Throws:
IOException
-