Skip to content

Commit

Permalink
chore(ci): add Datadog static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Jun 29, 2023
1 parent 3258ea4 commit d459511
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dd-static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: [push]

jobs:
check-quality:
runs-on: ubuntu-latest
name: Datadog Static Analyzer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check code meets quality standards
id: datadog-static-analysis
uses: DataDog/[email protected]
with:
dd_app_key: ${{ secrets.DD_APP_KEY }}
dd_api_key: ${{ secrets.DD_API_KEY_STATIC_ANALYSIS }}
dd_service: "dd-trace-py"
dd_env: "ci"
4 changes: 4 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rulesets:
- python-code-style
- python-best-practices
- python-inclusive

0 comments on commit d459511

Please sign in to comment.