Skip to content

Commit

Permalink
Fix integrity test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jul 30, 2024
1 parent 1fd5070 commit 1fd7d52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/package-integrity.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ function validate(dname) {
problems.push('Bad core version: ' + name + ' should be ' + desired);
}
}
if (names.indexOf(name) === -1) {
if (
names.indexOf(name) === -1 &&
!name.startsWith('@jupyter-widgets/base') &&
!name.startsWith('@jupyter-widgets/controls')
) {
problems.push('Unused package: ' + name);
}
});
Expand Down

0 comments on commit 1fd7d52

Please sign in to comment.