mirror of
https://github.com/astral-sh/ruff
synced 2026-01-23 06:20:55 -05:00
Move Clippy configuration to config.toml (#2541)
This commit is contained in:
14
src/lib.rs
14
src/lib.rs
@@ -4,20 +4,6 @@
|
||||
//! and subject to change drastically.
|
||||
//!
|
||||
//! [Ruff]: https://github.com/charliermarsh/ruff
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(clippy::pedantic)]
|
||||
#![allow(
|
||||
clippy::collapsible_else_if,
|
||||
clippy::collapsible_if,
|
||||
clippy::implicit_hasher,
|
||||
clippy::match_same_arms,
|
||||
clippy::missing_errors_doc,
|
||||
clippy::missing_panics_doc,
|
||||
clippy::module_name_repetitions,
|
||||
clippy::must_use_candidate,
|
||||
clippy::similar_names,
|
||||
clippy::too_many_lines
|
||||
)]
|
||||
|
||||
mod assert_yaml_snapshot;
|
||||
mod ast;
|
||||
|
||||
Reference in New Issue
Block a user