scripts: ci: compliance: Check .pyi files with ruff

Add pyi stub files to be checked by the ruff CI compliance rule.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2025-04-02 09:52:20 +02:00 committed by Benjamin Cabé
parent d890630e02
commit b2c37e00fc

View File

@ -1763,7 +1763,7 @@ class Ruff(ComplianceTest):
def run(self):
for file in get_files(filter="d"):
if not file.endswith(".py"):
if not file.endswith((".py", ".pyi")):
continue
try: