Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Problem with LFS files #37

@celynw

Description

@celynw

Hi - Recently I've noticed that my Ruff tests which used to pass are no longer passing.
Although this is probably due to a new version of Ruff, I think this is perhaps an issue for ruff-action.

Concerning a juypter notebook, I get the failure as:

Expected a Jupyter Notebook, which must be internally stored as JSON, but this file isn't valid JSON: expected value at line 1 column 1

I am pretty sure this is because the file is stored with git LFS, since the file itself passes Ruff tests locally. I can reproduce the error locally by changing the file contents to match what it really is:

version https://git-lfs.github.com/spec/v1
oid sha256:f8c1<long hex redacted>
size 192371

Is there a good way to get the action to ignore files using LFS? Or even run Ruff on the intended content of those files normally?

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