Skip to content

Bug check-toml ASCII on Windows #474

@staticdev

Description

@staticdev

I run pre-commit-hooks on my CI using Linux, Windows and Mac. When I have ASCII characters on it in Windows, it gives me an error:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 148: character maps to <undefined>

The ASCII character is in the author name from this file: https://github.com/staticdev/toml-validator/blob/master/pyproject.toml

When I remove the Á from the name, the error vanishes. This is a bug.

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