-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (52 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
63 lines (52 loc) · 1.55 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
[build-system]
requires = ["setuptools>=78", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "le-utils"
dynamic = ["version"]
description = "LE-Utils contains shared constants used in Kolibri, Ricecooker, and Kolibri Studio."
readme = "README.md"
license = "MIT"
requires-python = ">=3.6, <3.15"
authors = [
{ name = "Learning Equality", email = "info@learningequality.org" },
]
keywords = ["le-utils", "le_utils", "LE", "utils", "kolibri", "studio", "ricecooker", "content", "curation"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://github.com/learningequality/le-utils"
Download = "https://github.com/learningequality/le-utils/releases"
[tool.setuptools.packages.find]
include = ["le_utils*"]
[tool.setuptools.package-data]
le_utils = ["resources/*.json"]
[tool.setuptools_scm]
[dependency-groups]
test = [
"pytest>=6.2.5,<8",
"jsonschema==3.2.0",
]
dev = [
{ include-group = "test" },
"prek ; python_version >= '3.8'",
"ruff ; python_version >= '3.8'",
]
[tool.uv]
# Prevents installing packages published less than 7 days ago (supply chain safety).
exclude-newer = "7 days"
[tool.ruff]
line-length = 160
# Project supports >=3.6, but ruff's minimum target is py37.
target-version = "py37"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I"]
ignore = ["E203", "E501", "E741"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.isort]
known-first-party = ["le_utils"]
combine-as-imports = true