Skip to content

Create language: fail for filename-only checks #807

Closed

Description

@asottile

For example, it would be useful here:

https://github.com/pytest-dev/pytest/pull/3765/files

v1 could just print the filenames and exit nonzero, potentially with a --message option.

Activity

  1. chriskuehl commented on Aug 2, 2018

    @chriskuehl
    Member
  2. asottile commented on Aug 11, 2018

    @asottile
    MemberAuthor

    I opted for this:

        id: ...
        name: ...
        entry: message that will be printed
        files: ...  # or types, but files usually makes more sense here
        language: fail
    

    It will print:

    message that will be printed
    
    filename
    filename
    filename
    filename
    

    and fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions