Skip to content

nsauzede/audit_lints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lints Audit Tool

Audit various lints reported by cargo clippy, sorted by crates within a workspace. Refer to HANDOFF.md for more information.

Quick Usage

$ cd ws
$ python3 ../audit_lints.py

[1/2] Auditing without test targets
  › cargo clean …
  › cargo clippy (no tests) …

[2/2] Auditing with test targets
  › cargo clean …
  › cargo clippy (with tests) …

crate                 unwrap          expect          panic         unwrap_res      get_unwrap      idx_slice       str_slice          todo           unimpl         unreach          arith           float           TOTAL
                     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T     P  P+T    T
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
lints_demo           3    6    3     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    1    0     1    1    0    14   26   12
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
TOTAL                3    6    3     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    2    1     1    1    0     1    1    0    14   26   12

Columns: P=prod only  P+T=prod+tests  T=tests only

$

About

Lints Audit Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors