Browse Source

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>
pull/87994/head
Pieter De Gendt 3 months ago committed by Benjamin Cabé
parent
commit
b2c37e00fc
  1. 2
      scripts/ci/check_compliance.py

2
scripts/ci/check_compliance.py

@ -1763,7 +1763,7 @@ class Ruff(ComplianceTest): @@ -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:

Loading…
Cancel
Save