File: enums.py

package info (click to toggle)
python-sigima 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,956 kB
  • sloc: python: 33,326; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) DataLab Platform Developers, BSD 3-Clause license, see LICENSE file.

"""Common enum definitions for Sigima I/O support."""

# pylint: disable=invalid-name  # Allows short reference names like x, y...

from __future__ import annotations

from enum import Enum


class FileEncoding(str, Enum):
    """File encodings."""

    UTF8 = "utf-8"
    UTF8_SIG = "utf-8-sig"
    LATIN1 = "latin-1"