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
{{ message }}
Repository navigation
Let a Repository Record a Tool-Fixed Script Name the File-Naming Check Reports #3252
The file-naming audit check that #3141 adds (file_naming_findings in spec/audit.py) knows one tool-fixed name, Pester's .Tests.ps1 suffix. CODESTYLE.md "Script and Utility File Names" exempts every name a tool or platform fixes. So a name some other tool fixes, such as a constructed tools/Install.ps1 that a package format requires by that name, is reported as a break at drift on every run. The repository can never clear it.
A driftNote naming (filenaming.scripts) does not help either. driftnote_findings asks the auditor to judge the check and delete the note once it passes, and the check never passes.
Work
Give the check a recorded exemption, reusing the driftNote check-id suppression that python_type_findings already applies through DETECTION_SUPPRESSION_IDS, including its stale-suppression report. The note would need to name each exempt path, so that one note cannot silence every later break in the same repository.
Activity
Add a File-Naming Audit Check and Check Secret-File Stem Casing (#3253)
Let a driftNote Exempt a Tool-Fixed Script Name From the File-Naming …