Skip to content

Commit

Permalink
ignore type for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas loubrieu committed Jan 16, 2025
1 parent 422e109 commit 9b9f484
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

- run: |
pip install nasa-scrub
results_dir=`realpath ${{ github.workspace }}/../results`
sarif_files=`find $results_dir -name '*.sarif'`
for sarif_file in $sarif_files
do
output_file="$results_dir/$(basename $sarif_file .sarif).scrub"
python3 -m scrub.tools.parsers.translate_results $sarif_file $output_file ${{ github.workspace }} scrub
done
python3 -m scrub.tools.parsers.csv_parser $results_dir
echo "RESULTS_DIR=$results_dir" >> $GITHUB_ENV
- name: Upload CodeQL Artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -96,8 +96,8 @@ jobs:
uses: djdefi/cloc-action@6
with:
options: --report-file=cloc.md


-
name: Upload SLOC
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions src/pds/registrysweepers/utils/db/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import boto3 # type: ignore
import requests
from botocore.credentials import Credentials # type: ignore
from botocore.credentials import Credentials
from opensearchpy import OpenSearch
from opensearchpy import RequestsAWSV4SignerAuth # type: ignore
from opensearchpy import RequestsAWSV4SignerAuth
from opensearchpy import RequestsHttpConnection
from requests_aws4auth import AWS4Auth # type: ignore

Expand Down

0 comments on commit 9b9f484

Please sign in to comment.