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:
parent
d890630e02
commit
b2c37e00fc
@ -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…
Reference in New Issue
Block a user