-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
74 lines (66 loc) · 2.14 KB
/
pyproject.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "otelib"
authors = [
{name = "SINTEF", email = "[email protected]"},
]
description = "Open Translation Environment (OTE) REST API client library."
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
# "Framework :: OTE-API",
"Natural Language :: English",
"Operating System :: OS Independent",
]
keywords = ["OTE", "OTE-API"]
requires-python = "~=3.9"
dynamic = ["version"]
dependencies = [
"oteapi-core >=0.7.0.dev6",
"pydantic-settings ~=2.6",
]
[project.optional-dependencies]
dev = [
"pre-commit ~=4.0",
"pytest ~=8.3",
"pytest-cov ~=6.0",
"requests-mock ~=1.12",
]
[project.urls]
Home = "https://github.com/EMMC-ASBL/otelib"
Documentation = "https://EMMC-ASBL.github.io/otelib"
Source = "https://github.com/EMMC-ASBL/otelib"
"Issue Tracker" = "https://github.com/EMMC-ASBL/otelib/issues"
Changelog = "https://github.com/EMMC-ASBL/otelib/blob/master/CHANGELOG.md"
Package = "https://pypi.org/project/otelib"
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
scripts_are_modules = true
warn_unused_configs = true
show_error_codes = true
allow_redefinition = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
minversion = "8"
addopts = "-rs --cov=otelib --cov-report=term-missing:skip-covered --no-cov-on-fail"
filterwarnings = [
# Treat any warning as an error.
"error",
# A local warning emitted during tests.
"ignore:.*No global cache used.*:UserWarning",
# In Python 3.10+ the `SelectableGroups` dict interface is deprecated,
# which is used in OTEAPI-Core for handling the entry points.
"ignore:.*SelectableGroups dict interface is deprecated.*:DeprecationWarning",
]
requests_mock_case_sensitive = true