mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 13:15:21 +00:00
fix clippy warnings (#123)
* fix clippy warnings * update CI ruff command
This commit is contained in:
parent
8dd2aea267
commit
a5b08096a0
3 changed files with 1 additions and 4 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -23,8 +23,6 @@ mod range;
|
|||
mod size;
|
||||
mod traits;
|
||||
|
||||
#[cfg(feature = "schemars")]
|
||||
mod schemars_impls;
|
||||
#[cfg(feature = "serde")]
|
||||
mod serde_impls;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ use {
|
|||
fmt, iter,
|
||||
num::TryFromIntError,
|
||||
ops::{Add, AddAssign, Sub, SubAssign},
|
||||
u32,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue