GoogleChromeLabs / chromeos_smart_card_connector

Smart Card Connector App for Chrome OS
https://chrome.google.com/webstore/detail/smart-card-connector/khpfeaanjngmcnplbdlpegiifgpfgdco
Apache License 2.0
134 stars 49 forks source link

[style] Import find-files-for-linting Python code #1045

Closed emaxx-google closed 1 year ago

emaxx-google commented 1 year ago

Change the users of the find-files-for-linting.py Python code (eslient.py and format-code.py) to import it as a Python module rather than run as a subprocess.

This should avoid unnecessary overhead and data conversions. The change renames the file to "find_files_for_linting.py" as dashes in file names aren't Python-friendly.

emaxx-google commented 1 year ago

PTAL - this is to address your comment in #1024. Thanks.

github-actions[bot] commented 1 year ago

Continuous Integration: All tests passed. C/C++ test coverage: 71.74% lines.