-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
60 lines (52 loc) · 1.12 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pl-checkpoint"
version = "0.1.0"
description = "Interactive terminal-based learning platform for PrairieLearn"
authors = [{name = "Andy Lee", email = "[email protected]"}]
license = {text = "MIT"}
requires-python = ">=3.9"
dependencies = [
"pydantic>=2.0",
"docker",
"jinja2",
"pyyaml",
"tornado",
"terminado",
"click",
"regex",
]
[project.scripts]
checkpoint = "checkpoint.cli:cli"
[project.optional-dependencies]
dev = [
"ruff>=0.1.6",
"pytest>=7.0",
"pytest-cov",
"mypy",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
checkpoint = [
"builders/templates/*",
"builders/*.j2",
"builders/*.template",
]
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
[tool.ruff.lint.isort]
known-first-party = ["checkpoint"]