You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an AutoDeploy Python file cannot be read or decoded, the checker reports zero violations. The caller therefore treats that file as passing the import-discipline check.
Expected behavior
A checker that cannot inspect an in-scope source file should fail closed and report the read/decode failure as a violation.
Actual behavior
Read and decode failures are silently accepted.
Proposed fix
Return a diagnostic violation for read/decode failures and add a regression test that simulates an OSError.
Activity