File: _const.py

package info (click to toggle)
python-typepy 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 624 kB
  • sloc: python: 2,886; makefile: 78; sh: 7
file content (20 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""

from decimal import Decimal


class DefaultValue:
    FLOAT_TYPE = Decimal
    STRIP_ANSI_ESCAPE = True


class StrictLevel:
    MIN = 0
    MAX = 100


class ParamKey:
    STRIP_ANSI_ESCAPE = "strip_ansi_escape"
    TIMEZONE = "timezone"