quantecon/Check for Python Warnings

Scan HTML files for Python warnings within code cell outputs (avoiding false positives from text content)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 1, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: quantecon/action-check-warnings@9409f193f6f15fd3a92880e6c073292fa240aebf # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
html-pathPath to directory containing HTML files to scanno.
warningsComma-separated list of warnings to check fornoUserWarning,DeprecationWarning,PendingDeprecationWarning,SyntaxWarning,RuntimeWarning,FutureWarning,ImportWarning,UnicodeWarning,BytesWarning,ResourceWarning,EncodingWarning
exclude-warningComma-separated list of warnings to exclude from checking (can be a single warning or multiple warnings)no""
fail-on-warningWhether to fail the workflow if warnings are foundnotrue
create-issueWhether to create a GitHub issue when warnings are foundnofalse
issue-titleTitle for the GitHub issue when warnings are foundnoPython Warnings Found in Documentation Build
create-artifactWhether to create a workflow artifact with the warning reportnofalse
artifact-nameName for the workflow artifact containing the warning reportnowarning-report
notifyGitHub username(s) to assign to the created issue (comma-separated for multiple users)no""
namedescription
warnings-foundWhether warnings were found (true/false)
warning-countNumber of warnings found
warning-detailsDetails of warnings found
issue-urlURL of the created GitHub issue (if create-issue is enabled)
artifact-pathPath to the created artifact file (if create-artifact is enabled)