Skip to content

Commit

Permalink
#20 Actually dont allow clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyton-McKee committed Jan 11, 2024
1 parent c058dcf commit 0e6e06e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oxy/RustSynth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class RustSynth:
A class to synthesize Rust from a given CANMsg spec.
'''

ignore_clippy: str = "#![allow(clippy)]"
ignore_clippy: str = "#![allow(clippy::all)]\n"
decode_data_import: str = "use super::data::{Data,FormatData as fd, ProcessData as pd}; \n"

decode_return_type: str = "Vec::<Data>"
Expand Down
3 changes: 2 additions & 1 deletion src/decode_data.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(clippy)]use super::data::{Data,FormatData as fd, ProcessData as pd};
#![allow(clippy::all)]
use super::data::{Data,FormatData as fd, ProcessData as pd};

pub fn decode_mock(_data: &[u8]) -> Vec::<Data> {
let result = vec![
Expand Down

0 comments on commit 0e6e06e

Please sign in to comment.