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

deny clippy::needless_range_loop #402

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

macklin-10x
Copy link
Contributor

@macklin-10x macklin-10x commented Mar 15, 2024

Remove the exception to the clippy::needless_range_loop lint and fix many violations.

I've validated this changeset by running enclone and cellranger's CI against it. Note that this did catch several bugs introduced in the annotation code, which I subsequently fixed. The changes in that file should be reviewed particularly closely.

@macklin-10x macklin-10x force-pushed the macklin/clippy-type-complexity branch from 61a07e5 to f3b0634 Compare March 19, 2024 18:39
@macklin-10x macklin-10x force-pushed the macklin/clippy-needless-range-loop branch 2 times, most recently from b153a1b to 7b68073 Compare March 19, 2024 18:52
@macklin-10x macklin-10x force-pushed the macklin/clippy-type-complexity branch from f3b0634 to 522d56e Compare March 20, 2024 20:44
@macklin-10x macklin-10x force-pushed the macklin/clippy-needless-range-loop branch from 7b68073 to 08919b6 Compare March 20, 2024 20:45
Base automatically changed from macklin/clippy-type-complexity to main March 22, 2024 18:34
@macklin-10x macklin-10x force-pushed the macklin/clippy-needless-range-loop branch from 08919b6 to 652db5c Compare March 22, 2024 18:50
vdj_ann/src/annotate.rs Outdated Show resolved Hide resolved
vdj_ann/src/annotate.rs Outdated Show resolved Hide resolved
macklin-10x and others added 3 commits March 28, 2024 21:25
Fix dma
Fix hyperbase.
Fix fasta_tools.
Fix graph_simple.
Fix tables.
Fix build_supp_ref.

Fix build ref exons.

Fix build_vdj_ref
Co-authored-by: Sreenath Krishnan <sreenath.krishnan@10xgenomics.com>
@macklin-10x macklin-10x force-pushed the macklin/clippy-needless-range-loop branch from 21dfcfc to b4069bf Compare March 29, 2024 04:27
@macklin-10x macklin-10x merged commit 6246175 into main Mar 29, 2024
2 checks passed
@macklin-10x macklin-10x deleted the macklin/clippy-needless-range-loop branch March 29, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants