Skip to content

Ignore compiler warnings for entire file or directory in CI tooling #124190

Description

@nohlson

Feature or enhancement

Proposal:

CI warning check tooling needs to ignore entire files or directories. Currently Tools/build/.warningignore_ubuntu and Tools/build/.warningignore_macos contain file paths and a count of warnings to ignore per file. Tools/build/check_warnings.py should be able to ignore all warnings from a file or an entire directory.

For example:

Objects/longobject.c 46
Objects/memoryobject.c *
Objects/methodobject.c 1
Objects/mimalloc/ *

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

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

    type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions