mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -05:00
chore(clippy): Ignore lints about code-genned code
This commit is contained in:
parent
dc327e0d51
commit
ed004e7df9
8 changed files with 8 additions and 0 deletions
|
@ -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]> =
|
||||
|
|
Loading…
Reference in a new issue