-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (109 loc) · 2.82 KB
/
pyproject.toml
File metadata and controls
124 lines (109 loc) · 2.82 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[project]
name = "tekst"
version = "0.35.0a0"
description = "An online text research platform"
readme = "README.md"
authors = [
{ name = "Börge Kiss" }
]
maintainers = [
{ name = "Börge Kiss" }
]
license = "AGPL-3.0-or-later"
license-files = ["LICENSE"]
requires-python = ">=3.12,<4.0"
dependencies = [
"pyhumps<4.0.0,>=3.8.0",
"click<9.0.0,>=8.1.6",
"beanie<2.0.0,>=1.21.0",
"fastapi-users[beanie]<15.0.2,>=15.0.1",
"starlette-csrf<4.0.0,>=3.0.0",
"pydantic-settings<3.0.0,>=2.0.2",
"pydantic-extra-types<3.0.0,>=2.0.0",
"bleach<7.0.0,>=6.1.0",
"jsonref<2.0.0,>=1.1.0",
"fastapi>=0.115.6",
"elasticsearch[async]>=9.0.1",
]
keywords = [
"text",
"research",
"platform",
"collaboration",
]
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
# Audience
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
# Topic
"Topic :: Text Processing :: Linguistic",
# Supported Python versions
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
repository = "https://github.com/VedaWebProject/Tekst"
documentation = "https://vedawebproject.github.io/Tekst"
license = "https://www.gnu.org/licenses/agpl-3.0.txt"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest<9.0.0,>=8.1.1",
"requests<3.0.0,>=2.31.0",
"colorlog<7.0.0,>=6.7.0",
"pytest-dotenv<1.0.0,>=0.5.2",
"httpx<1.0.0,>=0.28.0",
"asgi-lifespan<3.0.0,>=2.1.0",
"ruff<1.0.0,>=0.8.0",
"pytest-env<2.0.0,>=1.1.1",
"uvicorn[standard]>=0.34.2",
"fastapi-cli>=0.0.7",
"pytest-cov>=6.1.1",
]
# ruff
[tool.ruff]
target-version = "py312"
line-length = 88
indent-width = 4
respect-gitignore = false
src = ["tekst", "tests"]
[tool.ruff.lint]
fixable = ["ALL"]
unfixable = []
ignore = ["F722"]
select = ["E", "F", "W", "I", "UP", "SIM"]
[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["classmethod", "pydantic.validator"]
[tool.ruff.lint.isort]
lines-after-imports = 2
lines-between-types = 1
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
skip-magic-trailing-comma = false
# pytest
[tool.pytest.ini_options]
testpaths = ["tests"]
env_override_existing_values = 1
env_files = [".env.dev", ".env.test"]
addopts = "--cov=tekst --cov-fail-under=100 --cov-report=term-missing"
# coverage
[tool.coverage.run]
source = ["tekst"]
branch = false
omit = [
"tekst/__main__.py",
]
[tool.coverage.report]
precision = 2
skip_empty = true
[tool.coverage.html]
title = "Tekst-API Test Coverage Report"