mirror of
https://github.com/esp-rs/espflash.git
synced 2026-03-19 05:45:12 +00:00
Correct the too_many_arguments rule name for linting in CI
This commit is contained in:
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
@@ -106,6 +106,6 @@ jobs:
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
# `identity_op` and `or_fun_call` leads to false positives
|
||||
# `too-many-arguments` is relatively arbitrary
|
||||
args: -- -D warnings -A clippy::identity_op -A clippy::or_fun_call -A clippy::too-many-arguments
|
||||
# `identity_op` and `or_fun_call` may lead to false positives
|
||||
# `too_many_arguments` is relatively arbitrary
|
||||
args: -- -D warnings -A clippy::identity_op -A clippy::or_fun_call -A clippy::too_many_arguments
|
||||
|
||||
@@ -122,7 +122,6 @@ pub fn board_info(opts: ConnectOpts, config: Config) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn save_elf_as_image(
|
||||
chip: Chip,
|
||||
elf_data: &[u8],
|
||||
@@ -220,7 +219,6 @@ pub fn save_elf_as_image(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn flash_elf_image(
|
||||
flasher: &mut Flasher,
|
||||
elf_data: &[u8],
|
||||
|
||||
@@ -443,7 +443,6 @@ impl Flasher {
|
||||
}
|
||||
|
||||
/// Load an elf image to flash and execute it
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn load_elf_to_flash_with_format(
|
||||
&mut self,
|
||||
elf_data: &[u8],
|
||||
|
||||
Reference in New Issue
Block a user