Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor and polish the source code of the library #29

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
run *Clippy* on --all-targets
otherwise, warnings from the documentation and the benchmarks
for instance are not seen when running the CI or `toolkit clippy` :o

we also make sure we use the same clippy command in the toolkit.
  • Loading branch information
amtoine committed Jun 16, 2023
commit e66235245c8c2aaba73e0077439c7f70deadabca
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Clippy
run: |
cargo clippy \
--all-targets \
--no-deps \
--workspace \
-- \
-D rustdoc::broken_intra_doc_links \
-W missing_docs \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- name: Clippy
run: |
cargo clippy \
--all-targets \
--no-deps \
--workspace \
-- \
-D rustdoc::broken_intra_doc_links \
-W missing_docs \
Expand Down
3 changes: 3 additions & 0 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ export def clippy [

try {(
cargo clippy
--all-targets
--no-deps
--workspace
--
-D warnings
-D rustdoc::broken_intra_doc_links
-W missing_docs
-W clippy::missing_docs_in_private_items
Expand Down