Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (93 loc) · 2.81 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (93 loc) · 2.81 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
[build-system]
requires = ["setuptools", "setuptools-scm>8.1"]
build-backend = "setuptools.build_meta"
[project]
name = "crowdsourcehinter-xblock"
dynamic = ["version"]
description = "crowdsourcehinter XBlock"
readme = "README.md"
license = "AGPL-3.0"
license-files = ["LICENSE"]
requires-python = ">=3.12"
dependencies = [
"six>=1.16.0",
"xblock>=6.2.0",
]
keywords = ["crowdsourcehinter", "xblock"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.entry-points."xblock.v1"]
crowdsourcehinter = "crowdsourcehinter:CrowdsourceHinter"
[project.urls]
Homepage = "https://github.com/openedx/crowdsourcehinter"
[tool.setuptools_scm]
version_scheme = "only-version"
local_scheme = "no-local-version"
fallback_version = "0.0.0.dev0"
[tool.setuptools.packages.find]
where = ["src"]
include = ["crowdsourcehinter*"]
[tool.setuptools.package-data]
"crowdsourcehinter" = [
"static/**",
"public/**",
]
[tool.setuptools.exclude-package-data]
"*" = ["tests*", "*.tests*"]
[dependency-groups]
# Base test packages, no Django version pinned
test-base = ["pytest-cov"]
# Default test group: current supported Django version
test = [{include-group = "test-base"}, "Django>=5.2,<6.0"]
# Legacy Django 4.2 support
django42 = [{include-group = "test-base"}, "Django>=4.2,<5.0"]
quality = [{include-group = "test"}, "flake8"]
ci = ["tox", "tox-uv>=1"]
dev = [{include-group = "quality"}, {include-group = "ci"}]
[tool.uv]
package = true
default-groups = []
conflicts = [
[
{group = "test"},
{group = "django42"},
],
]
# DO NOT EDIT constraint-dependencies DIRECTLY.
# This list is managed by `edx_lint write_uv_constraints`
# and will be overwritten the next time `make upgrade` is run.
# - GLOBAL constraints: edit edx_lint/files/common_constraints.txt
# - REPO-SPECIFIC constraints: edit [tool.edx_lint].uv_constraints in this file
constraint-dependencies = [
"Django<6.0",
"elasticsearch<7.14.0",
"social-auth-app-django<6.0.0",
"social-auth-core<5.0.0",
"pip<26.2.1",
]
[tool.edx_lint]
uv_constraints = []
[tool.coverage.run]
branch = true
source_pkgs = ["crowdsourcehinter"]
omit = ["*/tests/*", "*/migrations/*", "*/__pycache__/*"]
[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"
[tool.semantic_release]
build_command = "python -m pip install --upgrade build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build"