Skip to content

Commit

Permalink
fix clippy warnings (#123)
Browse files Browse the repository at this point in the history
* fix clippy warnings

* update CI ruff command
  • Loading branch information
youknowone authored Aug 6, 2024
1 parent 8dd2aea commit a5b0809
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions vendored/src/text_size/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ mod range;
mod size;
mod traits;

#[cfg(feature = "schemars")]
mod schemars_impls;
#[cfg(feature = "serde")]
mod serde_impls;

Expand Down
1 change: 0 additions & 1 deletion vendored/src/text_size/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use {
fmt, iter,
num::TryFromIntError,
ops::{Add, AddAssign, Sub, SubAssign},
u32,
},
};

Expand Down

0 comments on commit a5b0809

Please sign in to comment.