File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -260,14 +260,16 @@ if [[ $( \uname -s ) == "*arwin" ]] ; then
260
260
LICENSE_OPTIONS=" --python python3 ${LICENSE_OPTIONS} --ignore-packages certifi"
261
261
else
262
262
PIP_ENV_FLAGS=" "
263
- LICENSE_OPTIONS=" ${LICENSE_OPTIONS} --ignore-packages chardet"
263
+ LICENSE_OPTIONS=" ${LICENSE_OPTIONS} --partial-match -- ignore-packages chardet"
264
264
fi ;
265
+ # ignore common but OPTIONAL and NOT-BUNDLED packages
265
266
# urllib3 is licensed under MIT, but reports "UNKNOWN"
266
267
# roman-numerals-py is Public Domain but reports multiple
267
268
# Sphinx is licensed under BSD, but reports "UNKNOWN"
268
269
# typing_extensions is licensed under Python Software Foundation License, but reports "UNKNOWN"
269
270
# pytest-enabler is licensed under MIT, but reports "UNKNOWN"
270
- LICENSE_OPTIONS=" ${LICENSE_OPTIONS} urllib3 pip setuptools wheel build hypothesis certifi roman-numerals-py Sphinx typing_extensions pytest-enabler"
271
+ # pycodestyle is licensed under MIT, but reports just "MIT" (which does not match "MIT License")
272
+ LICENSE_OPTIONS=" ${LICENSE_OPTIONS} urllib3 pip setuptools wheel build hypothesis certifi roman-numerals-py Sphinx typing_extensions pytest-enabler pycodestyle"
271
273
# Enable auto-fix if '--fix' argument is provided
272
274
if [[ " $1 " == " --fix" ]]; then
273
275
AUDIT_OPTIONS=" --fix --strict ${AUDIT_OPTIONS} "
You can’t perform that action at this time.
0 commit comments