fix clippy warnings (#123)

* fix clippy warnings

* update CI ruff command
This commit is contained in:
Jeong, YunWon 2024-08-07 08:29:20 +09:00 committed by GitHub
parent 8dd2aea267
commit a5b08096a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 4 deletions

View file

@ -63,7 +63,7 @@ jobs:
- name: install ruff
run: python -m pip install ruff
- name: run python lint
run: ruff --ignore=E501 ast --show-source
run: ruff check ast
- name: spell checker
uses: streetsidesoftware/cspell-action@v2

View file

@ -23,8 +23,6 @@ mod range;
mod size;
mod traits;
#[cfg(feature = "schemars")]
mod schemars_impls;
#[cfg(feature = "serde")]
mod serde_impls;

View file

@ -5,7 +5,6 @@ use {
fmt, iter,
num::TryFromIntError,
ops::{Add, AddAssign, Sub, SubAssign},
u32,
},
};