-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.py
39 lines (30 loc) · 943 Bytes
/
const.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""
#
# trans-tool
# The translation files checker and syncing tool.
#
# Copyright ©2021-2024 Marcin Orlowski <MarcinOrlowski.com>
# https://github.com/MarcinOrlowski/trans-tool/
#
"""
from typing import List
class Const(object):
# The name of the application.
APP_NAME: str = 'trans-tool'
# The version of the application.
APP_VERSION: str = '2.5.4'
# The URL of the application's repository.
APP_URL: str = 'https://github.com/MarcinOrlowski/trans-tool/'
# The years during which the application was developed.
APP_YEARS: str = '2021-2024'
APP_DESCRIPTION: List[str] = [
f'{APP_NAME} v{APP_VERSION} * Copyright {APP_YEARS} by Marcin Orlowski.',
'The translation files checker and syncing tool.',
f'{APP_URL}',
]
class RC(object): # noqa: WPS431
"""
Application return codes.
"""
OK: int = 0
TRANSLATION_SYNTAX_ERROR = 200