-
-
Notifications
You must be signed in to change notification settings - Fork 172
Closed
Description
pre-commit ended up mangling some of my files because identify thinks they're text files.
They have text at the start, but binary later it seems like.
$ identify-cli red_square_blue_circle.ai
["file", "non-executable", "text"]
my .pre-commit-config.yml (trailing whitespace and end-of-file-fixer did the damage)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels