-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
48 lines (42 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
[tool.poetry]
name = "dojo-toolkit"
version = "0.8.1"
description = "Toolkit for Python Coding Dojos."
authors = ["grupy-sanca"]
packages = [{ include = "dojo_toolkit" }]
readme = "README.rst"
[tool.poetry.dependencies]
python = "^3.9"
watchdog = "^2.1.6"
pyglet = "^1.5.21"
pgi = {version = "^0.0.11", platform = "linux"}
clint = "^0.5.1"
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
coverage = {extras = ["toml"], version = "^6.1.2"}
ruff = "^0.5.6"
[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__
]
[tool.poetry.scripts]
dojo = "dojo_toolkit.main:run"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"