Skip to content

Apply TOR901 only to files in test dir #54

Open
@kit1980

Description

@kit1980

See pytorch/pytorch#125050 for details.

This will require passing file path as an input to the rules.
In general it doesn't make too much sense, but for PyTorch-internal rule like TOR901 where we know the path in the CI this will allow to remove long enumerations of files to ignore from .flake8

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions