diff --git a/scripts/change_detector.py b/scripts/change_detector.py index 8fda027f855..54ef039faf7 100755 --- a/scripts/change_detector.py +++ b/scripts/change_detector.py @@ -33,6 +33,7 @@ PATTERNS = { r"^setup\.py", r"^pyproject\.toml$", r"^requirements/.+\.txt", + r"^pyproject\.toml", r"^.pylintrc", ], "frontend": [ @@ -156,7 +157,7 @@ def main(event_type: str, sha: str, repo: str) -> None: def get_git_sha() -> str: return os.getenv("GITHUB_SHA") or subprocess.check_output( # noqa: S603 - ["git", "rev-parse", "HEAD"] # noqa: S607 + ["git", "rev-parse", "HEAD"] # noqa: S603, S607 ).strip().decode("utf-8")