Skip to content

Could I use this in my pre-commit? #51

@kevinchwong

Description

@kevinchwong

I added this in my .pre-commit-config.yaml file, but it seems it is not support yet.

  - repo: https://github.com/databrickslabs/pylint-plugin
    rev: v0.5.0
    hooks:
      - id: pylint
        name: pylint
        entry: pylint
        language: system
        types: [python]
        args: [
            "-rn", # Only display messages
            "-sn", # Don't display the score
            "--load-plugins=databricks.labs.pylint.all", # Load an extension
        ]

And I get this error:

### error information

An error has occurred: InvalidManifestError: 
=====> /Users/user/.cache/pre-commit/repoojrna59d/.pre-commit-hooks.yaml is not a file

Any Idea how can I use it in my local pre-commit? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions