-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (115 loc) · 2.84 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (115 loc) · 2.84 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
125
126
127
128
129
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mockprock"
version = "2.0.0"
description = "Mock proctoring backend for Open edX"
readme = "README.rst"
requires-python = ">=3.12"
license = "Apache-2.0"
authors = [
{name = "Open edX Project", email = "oscm@openedx.org"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
]
keywords = [
"Python",
"edx",
"openedx",
"proctoring",
]
dependencies = []
[project.optional-dependencies]
server = [
"Flask<2.0",
"PyJWT",
"requests",
]
[project.entry-points."openedx.proctoring"]
mockprock = "mockprock.backend:MockProckBackend"
[project.scripts]
get-dashboard = "mockprock.commands:get_url"
[project.urls]
Repository = "https://github.com/openedx/mockprock"
[tool.setuptools.packages.find]
exclude = ["tests*", "*.tests", "*.tests.*"]
[tool.setuptools.package-data]
"mockprock" = ["templates/*"]
[dependency-groups]
test-base = [
"pytest",
"pytest-cov",
]
test = [
{include-group = "test-base"},
]
quality = [
"pylint>=3.3,<4.0",
"pylint-celery",
"pylint-django",
"isort",
"edx-lint",
]
doc = []
ci = [
"tox",
"tox-uv",
]
dev = [
{include-group = "test"},
{include-group = "quality"},
{include-group = "doc"},
"edx-lint",
]
# uv configuration
# https://docs.astral.sh/uv/reference/settings/
[tool.uv]
package = true
# edx-lint uv constraint support
# https://github.com/openedx/edx-lint
# 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",
]
[tool.edx_lint]
# This section is read by edx-lint; do not edit the constraint-dependencies directly.
uv_constraints = []
# Pytest configuration
# https://docs.pytest.org/en/stable/reference/customize.html
[tool.pytest.ini_options]
addopts = "--cov mockprock --cov-report term-missing --cov-report xml"
# Coverage configuration
# https://coverage.readthedocs.io/en/latest/config.html
[tool.coverage.run]
branch = true
source = ["mockprock"]
omit = [
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
show_missing = true
[tool.coverage.html]
directory = "htmlcov"