We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d063f85 commit 4480d08Copy full SHA for 4480d08
.github/workflows/python-c-ext-sanity-check.yml
@@ -87,8 +87,9 @@ jobs:
87
- name: Lint with splint
88
run: |
89
# NOTE: we only run splint error check for changed c files to limit noise
90
+ # NOTE: point splint to Ubuntu's custom /usr/include/python3.x for Python.h
91
echo "Lint changed code files: $(git diff --diff-filter=ACMRTB --name-only HEAD^1 -- | grep -E '\.(c|h)$')"
- git diff --diff-filter=ACMRTB --name-only HEAD^1 -- | grep -E '\.(c|h)$' | xargs -r splint +posixlib -D__gnuc_va_list=va_list
92
+ git diff --diff-filter=ACMRTB --name-only HEAD^1 -- | grep -E '\.(c|h)$' | xargs -r splint +posixlib -D__gnuc_va_list=va_list $(python3-config --includes)
93
94
lint-python3-rocky9:
95
name: Sanity check c-extension module code in default python3 on Rocky9
0 commit comments