Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Use run_live instead of subprocess.check_output for ruff checking on …
Browse files Browse the repository at this point in the history
…editable build
  • Loading branch information
mawildoer committed Nov 12, 2024
1 parent 8b5e439 commit 35b2308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/faebryk/core/cpp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import json
import logging
import subprocess
from importlib.metadata import Distribution

from faebryk.libs.util import ConfigFlag, at_exit, global_lock
Expand Down Expand Up @@ -118,7 +117,7 @@ def compile_and_load():
is_pyi=True,
)
)
subprocess.check_output(["ruff", "check", "--fix", pyi_out])
run_live(["ruff", "check", "--fix", pyi_out], logger=logger)


# Re-export c++ with type hints provided by __init__.pyi
Expand Down

0 comments on commit 35b2308

Please sign in to comment.