-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (48 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
54 lines (48 loc) · 1.18 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
[project]
name = "dojo-toolkit"
version = "0.8.1"
description = "Toolkit for Python Coding Dojos."
authors = [{name = "grupy-sanca"}]
packages = [{ include = "dojo_toolkit" }]
readme = "README.rst"
requires-python = ">=3.9"
dependencies = [
"watchdog>=2.1.6,<3.0.0",
"pyglet>=1.5.21,<2.0.0",
"clint>=0.5.1,<0.6.0",
"typer[all]>=0.9.0,<1.0.0",
"pgi>=0.0.11; sys_platform == 'linux'"
]
[dependency-groups]
dev = [
"coverage[toml]>=6.1.2,<7.0.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.24.0",
"pytest-cov>=4.1.0",
"pytest-env>=1.1.5",
"respx>=0.21.1",
"ruff>=0.8.2",
]
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 100
lint.select = [
"I", # isort
"C4", # flake8-comprehensions
"F", # pyflakes
"E", # pycodestyle
"TID", # flake8-tidy-imports
"C901", # mccabe
]
lint.ignore = [
"C401", # generator syntax for sets vs always force set comprehension
"PLC0414", # allow explicit re-exports using 'as' without forcing __all__
]
[project.scripts]
dojo = "dojo_toolkit.main:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"