Skip to content

Commit

Permalink
Don't suppress unused_imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Nov 6, 2023
1 parent d252e45 commit d3fc6da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deepwell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
run: cd deepwell && cargo fmt --all -- --check

- name: Clippy
run: cd deepwell && cargo clippy --no-deps -- -A unused_imports
run: cd deepwell && cargo clippy --no-deps

# clippy is over aggressive with "unused import" warnings, reporting it for
# prelude modules and common export patterns, which is noisy and unhelpful.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ftml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ jobs:
run: cd ftml && cargo fmt --all -- --check

- name: Clippy
run: cd ftml && cargo clippy --no-deps -- -A unused_imports
run: cd ftml && cargo clippy --no-deps

# See deepwell.yaml for explainer on unused_imports.
2 changes: 1 addition & 1 deletion .github/workflows/locales.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ jobs:
run: cd ftml && cargo fmt --all -- --check

- name: Clippy
run: cd ftml && cargo clippy --no-deps -- -A unused_imports
run: cd ftml && cargo clippy --no-deps

# See deepwell.yaml for explainer on unused_imports.

0 comments on commit d3fc6da

Please sign in to comment.