You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add all Python warnings for checking by warning-checker by default. #201
Update warning checker configuration to include UserWarning
@mmcky : one for the warning checker: /home/runner/miniconda3/envs/quantecon/lib/python3.12/site-packages/IPython/core/pylabtools.py:170: UserWarning: Creating legend with loc="best" can be slow with large amounts of data. fig.canvas.print_figure(bytes_io, **kw)
changed the title [-]@mmcky : one for the warning checker: `/home/runner/miniconda3/envs/quantecon/lib/python3.12/site-packages/IPython/core/pylabtools.py:170: UserWarning: Creating legend with loc="best" can be slow with large amounts of data.[/-][+]Add `UserWarning` to warning-checker default config[/+]on Aug 15, 2025
Thanks @mmcky . Here's what Claude claims to be the full set of warnings:
Python has several built-in warning categories besides UserWarning. Here are the main ones:
Core Warning Types:
DeprecationWarning - For deprecated features that will be removed in future versions
PendingDeprecationWarning - For features that may be deprecated in the future
SyntaxWarning - For dubious syntax that isn't technically incorrect
RuntimeWarning - For runtime issues that aren't errors
FutureWarning - For constructs that will change semantically in the future
ImportWarning - For issues with imports
UnicodeWarning - For Unicode-related issues
BytesWarning - For issues related to bytes and buffer objects
ResourceWarning - For resource usage issues (like unclosed files)
Specialized Warnings:
EncodingWarning - For encoding-related issues (added in Python 3.10)
changed the title [-]Add `UserWarning` to warning-checker default config[/-][+]Add all Python warnings for checking by `warning-checker` by default. [/+]on Aug 16, 2025
Activity
[-]@mmcky : one for the warning checker: `/home/runner/miniconda3/envs/quantecon/lib/python3.12/site-packages/IPython/core/pylabtools.py:170: UserWarning: Creating legend with loc="best" can be slow with large amounts of data.[/-][+]Add `UserWarning` to warning-checker default config[/+]jstac commentedon Aug 15, 2025
Thanks @mmcky . Here's what Claude claims to be the full set of warnings:
Python has several built-in warning categories besides UserWarning. Here are the main ones:
Core Warning Types:
DeprecationWarning - For deprecated features that will be removed in future versions
PendingDeprecationWarning - For features that may be deprecated in the future
SyntaxWarning - For dubious syntax that isn't technically incorrect
RuntimeWarning - For runtime issues that aren't errors
FutureWarning - For constructs that will change semantically in the future
ImportWarning - For issues with imports
UnicodeWarning - For Unicode-related issues
BytesWarning - For issues related to bytes and buffer objects
ResourceWarning - For resource usage issues (like unclosed files)
Specialized Warnings:
EncodingWarning - For encoding-related issues (added in Python 3.10)
mmcky commentedon Aug 15, 2025
@copilot can you please add the above
Warningtypes to the default configuration for our actions/check-warnings action.[-]Add `UserWarning` to warning-checker default config[/-][+]Add all Python warnings for checking by `warning-checker` by default. [/+]