Skip to content

Commit

Permalink
Add autodoc warnings to the problem matcher.
Browse files Browse the repository at this point in the history
This should enable us to at least flag autodoc
import errors in the diff view.
Catching error otherwise is not feasible, see pymeasure#583.
  • Loading branch information
bilderbuchi committed Jan 29, 2022
1 parent 7a6f2d0 commit 79d9fcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/sphinx.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
"message": 3
}
]
},
{
"owner": "sphinx-extension",
"file": "docs/conf.py",
"pattern": [
{
"regexp": "^(?<severity>WARNING|ERROR): (?<code>\\S+): (?<message>.+)$",
"severity": 1,
"code": 2,
"message": 3
}
]
}
]
}

0 comments on commit 79d9fcb

Please sign in to comment.