-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (83 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (83 loc) · 2 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "recommender-xblock"
dynamic = ["version"]
description = "recommender XBlock"
readme = "README.rst"
license = "AGPL-3.0"
license-files = ["LICENSE"]
authors = [
{name = "edX", email = "oscm@edx.org"},
]
requires-python = ">=3.12"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.2",
]
dependencies = [
"bleach",
"edx-i18n-tools",
"fs",
"simplejson",
"web-fragments",
"webob",
]
[project.urls]
Homepage = "https://github.com/openedx/RecommenderXBlock"
[project.entry-points."xblock.v1"]
recommender = "recommender.recommender:RecommenderXBlock"
[tool.setuptools_scm]
version_scheme = "only-version"
local_scheme = "no-local-version"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
recommender = [
"static/**/*",
"templates/**/*",
"conf/locale/**",
"public/**/*",
]
[tool.setuptools.exclude-package-data]
"*" = ["tests*", "*.tests*", "spec*", "*.spec*"]
[tool.coverage.run]
branch = true
source = ["recommender"]
omit = [
"*/tests/*",
"*/migrations/*",
"*/__pycache__/*",
"*/settings.py",
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.coverage.html]
directory = "htmlcov"
[dependency-groups]
quality = [
"pycodestyle",
]
[tool.edx_lint]
uv_constraints = []
[tool.semantic_release]
build_command = "python -m pip install --upgrade build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build"
allow_zero_version = true
major_on_zero = false
[tool.uv]
package = true