We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c524c commit 58e829fCopy full SHA for 58e829f
.github/workflows/ci.yml
@@ -17,10 +17,12 @@ jobs:
17
toolchain: stable
18
profile: minimal
19
components: rustfmt, clippy
20
- - run: |
+ - env:
21
+ CLIPPYFLAGS: --deny warnings --allow clippy::needless-lifetimes
22
+ run: |
23
cargo fmt --all -- --check
- cargo clippy --tests
- for example in examples/*; do (cd $example/; cargo clippy) || exit 1; done
24
+ cargo clippy --tests -- $CLIPPYFLAGS
25
+ for example in examples/*; do (cd $example/; cargo clippy -- $CLIPPYFLAGS) || exit 1; done
26
27
test:
28
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }}
0 commit comments