Skip to content

Commit

Permalink
ci: add dead code detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas1312 committed Oct 10, 2023
1 parent a4e53b7 commit 93f53e4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,16 @@ jobs:
{ vulture src/kili tests ; dead ; } |
grep -e "src/kili" |
grep -v
-e "is only referenced in tests"
-e "_ is never read"
-e "internal.py"
-e "unused attribute 'internal'"
-e "affected_rows"
-e "src/kili/orm"
-e "src/kili/types.py"
-e "src/kili/services"
-e "src/kili/entrypoints"
-e "src/kili/core/graphql/ws_graphql_client"
-e "is only referenced in tests"
-e "_ is never read"
-e "internal.py"
-e "unused attribute 'internal'"
-e "affected_rows"
-e "src/kili/orm"
-e "src/kili/types.py"
-e "src/kili/services"
-e "src/kili/entrypoints"
-e "src/kili/core/graphql/ws_graphql_client"
> dead_code.log
- name: Crash if dead code found
Expand Down

0 comments on commit 93f53e4

Please sign in to comment.