mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 21:03:11 +00:00
[red-knot] Remove global dead_code from red-knot-server (#17229)
## Summary Use more local `expect(dead_code)` suppressions instead of a global `allow(dead_code)` in `lib.rs`. Remove some methods that are either easy to add later, are less likely to be needed for red knot, or it's unclear if we'd add it the same way as in ruff.
This commit is contained in:
parent
e01d228a71
commit
67f8c30b53
9 changed files with 14 additions and 37 deletions
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(dead_code)]
|
||||
|
||||
use crate::server::Server;
|
||||
use anyhow::Context;
|
||||
pub use document::{DocumentKey, NotebookDocument, PositionEncoding, TextDocument};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue