This project is used to help showcase the static-analysis-gates feature. It is a simplistic project that showcases how the quality gates work within Datadog.
The project runs off of Github actions to send the static-analysis and make a determination on if it should pass/fail. This is configured in the .github folder. In addition to this, the static-analysis.datadog.yml file in the root directory is used to determine which rules should be evaluated against.
Bootstrap the project
- Create a virtual environment
python -mvenv venv
- Use the virtual environment
source venv/bin/activate
- Install all dependencies
pip install -r requirements.txt
- Init the database
rm -f db.sqlite ; sqlite3 db.sqlite < init.sql
Start the project:
flask --app service run