name: "CodeQL configuration"

queries:
  - uses: security-extended
  - uses: security-and-quality
query-filters:
  - exclude:
      id:
        - cpp/poorly-documented-function
        - cpp/fixme-comment
        - cpp/commented-out-code
        - cpp/complex-block
        - cpp/equality-on-floats
        - cpp/loop-variable-changed

# it doesn't work for compiled languages, but perhaps it will in the future
# https://github.com/github/codeql/issues/5618#issuecomment-815058569
paths-ignore:
  - include/gemmi/third_party
