Skip to content

Commit 635b702

Browse files
authored
refactor(clippy): enforce dead code detection in library and CLI (#167)
Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
1 parent 9efd11b commit 635b702

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
22

33
#![allow(clippy::multiple_crate_versions)]
4+
#![deny(dead_code)]
45
#![cfg_attr(docsrs, feature(doc_cfg))]
56

67
//! # Ultralytics YOLO Inference Library

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
22

33
#![allow(clippy::multiple_crate_versions)]
4+
#![deny(dead_code)]
45

56
//! Ultralytics YOLO Inference CLI
67
//!

0 commit comments

Comments
 (0)