Skip to content

false positive with standard Python's Errors #966

Closed
@Borda

Description

@Borda

We have just updated via pre-commit auto-update to:

  - repo: https://github.com/crate-ci/typos
    rev: typos-dict-v0.11.10
    hooks:
      - id: typos
        args: []  # empty to do not write fixes

and since that raising:

typos....................................................................Failed
- hook id: typos
- exit code: 2

error: `EOF` should be `OF`
  --> cachier/cores/pickle.py:109:40
    |
109 |             except (FileNotFoundError, EOFError):
    |                                        ^^^
    |

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