Skip to content

feat: basic ipython support #819

feat: basic ipython support

feat: basic ipython support #819

Triggered via pull request May 25, 2024 00:30
Status Failure
Total duration 2m 47s
Artifacts

code-quality.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
unused import: `grit_util::AstNode`: crates/language/src/notebooks.rs#L3
error: unused import: `grit_util::AstNode` --> crates/language/src/notebooks.rs:3:5 | 3 | use grit_util::AstNode; | ^^^^^^^^^^^^^^^^^^
unused import: `grit_util::AstCursor`: crates/language/src/notebooks.rs#L2
error: unused import: `grit_util::AstCursor` --> crates/language/src/notebooks.rs:2:5 | 2 | use grit_util::AstCursor; | ^^^^^^^^^^^^^^^^^^^^
unused import: `Parser`: crates/language/src/notebooks.rs#L13
error: unused import: `Parser` --> crates/language/src/notebooks.rs:13:31 | 13 | use grit_util::{AnalysisLogs, Parser, SnippetTree}; | ^^^^^^
mismatched types: crates/language/src/notebooks.rs#L114
error[E0308]: mismatched types --> crates/language/src/notebooks.rs:114:9 | 114 | / { 115 | | // let notebook: Notebook = serde_json::from_str(body).ok()?; 116 | | // let mut content = Vec::new(); 117 | | ... | 208 | | // tree 209 | | } else { | |_________^ expected `Option<Tree>`, found `()` | = note: expected enum `std::option::Option<language::Tree>` found unit type `()`
unused import: `grit_util::Range`: crates/language/src/notebooks.rs#L12
error: unused import: `grit_util::Range` --> crates/language/src/notebooks.rs:12:5 | 12 | use grit_util::Range; | ^^^^^^^^^^^^^^^^
unused import: `anyhow::Result`: crates/language/src/notebooks.rs#L9
error: unused import: `anyhow::Result` --> crates/language/src/notebooks.rs:9:5 | 9 | use anyhow::Result; | ^^^^^^^^^^^^^^
unused import: `anyhow::bail`: crates/language/src/notebooks.rs#L8
error: unused import: `anyhow::bail` --> crates/language/src/notebooks.rs:8:5 | 8 | use anyhow::bail; | ^^^^^^^^^^^^
unused import: `tree_sitter::Query`: crates/language/src/notebooks.rs#L6
error: unused import: `tree_sitter::Query` --> crates/language/src/notebooks.rs:6:5 | 6 | use tree_sitter::Query; | ^^^^^^^^^^^^^^^^^^
unused import: `grit_util::Ast`: crates/language/src/notebooks.rs#L1
error: unused import: `grit_util::Ast` --> crates/language/src/notebooks.rs:1:5 | 1 | use grit_util::Ast; | ^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
found a documentation comment that doesn't document anything: crates/language/src/notebooks.rs#L132
error[E0585]: found a documentation comment that doesn't document anything --> crates/language/src/notebooks.rs:132:13 | 132 | /// TREE SITTER VERSION: | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: doc comments must come before what they document, if a comment was intended use `//`
clippy_check
Clippy had exited with the 101 exit code
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/