mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
chore(clippy): Ignore lints about code-genned code
This commit is contained in:
@@ -30,6 +30,7 @@ fn generate<W: std::io::Write>(file: &mut W) {
|
||||
env!("CARGO_PKG_NAME")
|
||||
)
|
||||
.unwrap();
|
||||
writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap();
|
||||
writeln!(file).unwrap();
|
||||
writeln!(file, "use unicase::UniCase;").unwrap();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is code-genned by codespell-codegen
|
||||
#![allow(clippy::unreadable_literal)]
|
||||
|
||||
use unicase::UniCase;
|
||||
pub static WORD_DICTIONARY: phf::Map<unicase::UniCase<&'static str>, &[&'static str]> =
|
||||
|
||||
@@ -59,6 +59,7 @@ fn generate<W: std::io::Write>(file: &mut W) {
|
||||
env!("CARGO_PKG_NAME")
|
||||
)
|
||||
.unwrap();
|
||||
writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap();
|
||||
writeln!(file).unwrap();
|
||||
writeln!(file, "use unicase::UniCase;").unwrap();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is code-genned by misspell-codegen
|
||||
#![allow(clippy::unreadable_literal)]
|
||||
|
||||
use unicase::UniCase;
|
||||
pub static MAIN_DICTIONARY: phf::Map<unicase::UniCase<&'static str>, &[&'static str]> =
|
||||
|
||||
@@ -9,6 +9,7 @@ fn generate<W: std::io::Write>(file: &mut W) {
|
||||
env!("CARGO_PKG_NAME")
|
||||
)
|
||||
.unwrap();
|
||||
writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap();
|
||||
writeln!(file).unwrap();
|
||||
writeln!(file, "use unicase::UniCase;").unwrap();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is code-genned by typos-codegen
|
||||
#![allow(clippy::unreadable_literal)]
|
||||
|
||||
use unicase::UniCase;
|
||||
pub static WORD_DICTIONARY: phf::Map<unicase::UniCase<&'static str>, &'static str> = ::phf::Map {
|
||||
|
||||
@@ -30,6 +30,7 @@ fn generate<W: std::io::Write>(file: &mut W) {
|
||||
env!("CARGO_PKG_NAME")
|
||||
)
|
||||
.unwrap();
|
||||
writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap();
|
||||
writeln!(file).unwrap();
|
||||
writeln!(file, "use unicase::UniCase;").unwrap();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// This file is code-genned by wikipedia-codegen
|
||||
#![allow(clippy::unreadable_literal)]
|
||||
|
||||
use unicase::UniCase;
|
||||
pub static WORD_DICTIONARY: phf::Map<unicase::UniCase<&'static str>, &[&'static str]> =
|
||||
|
||||
Reference in New Issue
Block a user