Skip to content

Commit

Permalink
clippy ignore examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Tauber committed Apr 10, 2023
1 parent 13b3157 commit ae07a82
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
components: rustfmt
- run: cargo fmt --all -- --check
lint:
name: cargo fmt
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 6 additions & 1 deletion derive/examples/simple_enum_derives.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#![allow(bad_style, dead_code)]
#![allow(
bad_style,
dead_code,
clippy::clone_on_copy,
clippy::upper_case_acronyms
)]

#[macro_use]
extern crate pest_derive;
Expand Down
7 changes: 6 additions & 1 deletion derive/examples/simple_struct_derives.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#![allow(bad_style, dead_code)]
#![allow(
bad_style,
dead_code,
clippy::clone_on_copy,
clippy::upper_case_acronyms
)]

#[macro_use]
extern crate pest_derive;
Expand Down
7 changes: 6 additions & 1 deletion examples/csv.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#![allow(bad_style, dead_code)]
#![allow(
bad_style,
dead_code,
clippy::clone_on_copy,
clippy::upper_case_acronyms
)]

// Unfortunately, you currently have to import all four of these.
// We're considering what it would look like to make this redundant,
Expand Down

0 comments on commit ae07a82

Please sign in to comment.