diff --git a/.github/codeql.yml b/.github/codeql.yml index f541c42f..45832ef9 100644 --- a/.github/codeql.yml +++ b/.github/codeql.yml @@ -6,3 +6,10 @@ query-filters: # https://codeql.github.com/codeql-query-help/python/py-empty-except/ - exclude: id: py/empty-except + + # Quite a few functions don't explicitly return values, but + # instead implicitly return `None`, when falling through. + # TODO: May be improved. + # https://codeql.github.com/codeql-query-help/python/py-mixed-returns/ + - exclude: + id: py/mixed-returns