Skip to content

Commit 915e6f9

Browse files
committed
Still tweaking static analysis
1 parent 37a65aa commit 915e6f9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "Code Analysis"
12+
name: "CodeQL Analysis"
1313

1414
on:
1515
push:

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ jobs:
6161
session: ${{ fromJson(needs.generate-jobs.outputs.session) }}
6262
steps:
6363
- uses: actions/checkout@v4
64+
with:
65+
fetch-depth: 0 # SonraQube analysis requires disabling shallow clones
66+
6467
- name: Install nox
6568
uses: wntrblm/nox@2254a1ee500bbf66c2a5e4ff5dad030b9f579dcd # https://github.com/wntrblm/nox/tags
69+
6670
- name: Install uv
6771
uses: astral-sh/setup-uv@v5
6872
with:

sonar-project.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ sonar.projectName=django-modern-rpc
99
sonar.sources=modernrpc
1010
sonar.tests=tests
1111
sonar.exclusions=tests
12+
# These files are omitted in pyproject's coverage settings, but still considered uncovered by Sonar
13+
sonar.coverage.exclusions=modernrpc/apps.py,modernrpc/compat.py
1214

1315
# Encoding of the source code. Default is default system encoding
1416
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)