oasis-open / cti-python-stix2

OASIS TC Open Repository: Python APIs for STIX 2
https://stix2.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
356 stars 113 forks source link

Create codeql-analysis.yml #555

Closed ejratl closed 2 months ago

ejratl commented 1 year ago

Proposing to enable CodeQL analysis of the code in this repo. The config is auto generated and seems sufficient. The only question is whether we want to enable it or not.

ejratl commented 1 year ago

The autogenerated codeql yaml file fails the trailing spaces check in the pre-commit hook which is only called in the 3.9 test and causes the failure. I am looking into how to opt it out of the check.