Skip to content

Commit

Permalink
chore(clippy): move clippy lints to Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Nov 16, 2023
1 parent 7bccc6c commit eb329c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ pre-release-replacements = [
{file = "CHANGELOG.md", search = "n\\.n\\.n", replace = "{{tag_name}}", exactly = 1}
]

[lints.rust]
missing_docs = "forbid"

[lints.clippy]
pedantic = "deny"
non_ascii_literal = "allow"
module_name_repetitions = "allow"

[dependencies]
fixedbitset = "0.4.2"
num-traits = "0.2.17"
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#![forbid(missing_docs)]
#![warn(clippy::pedantic)]
#![allow(clippy::non_ascii_literal)]
#![allow(clippy::module_name_repetitions)]
#![doc = include_str!("../README.md")]

use deprecate_until::deprecate_until;
Expand Down

0 comments on commit eb329c8

Please sign in to comment.