Skip to content

Let a Repository Record a Tool-Fixed Script Name the File-Naming Check Reports #3252

Closed

Description

@ptr727

Problem

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

  1. added
    enhancement
    introduced
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementintroduced

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions