-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (49 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
67 lines (49 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
55
56
57
58
59
60
61
62
63
64
65
66
67
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.10,<3.13"
name = "dew-py"
description= "A simple command language inspired from python functions."
dynamic = ["version", "readme"]
authors = [
{name = "jma"},
]
dependencies = [
"typing_extensions==4.15.0",
]
[project.optional-dependencies]
test = [
"pytest==8.4.1",
"tox==4.28.4",
"ruff==0.14.1",
]
[tool.setuptools.dynamic]
version = {attr = "dew.__version__"}
readme = {file = "README.md", content-type = "text/markdown"}
[tool.tox]
requires = ["tox>=4"]
env_list = ["format", "3.12", "3.11", "3.10"]
[tool.tox.env_run_base]
description = "run unit tests"
deps = [
"pytest>=8",
"pytest-sugar"
]
commands = [["pytest", { replace = "posargs", default = ["tests"], extend = true }]]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
docstring-code-format = true
[tool.ruff.lint]
select = ['ALL']
ignore = ['COM812']
exclude = ["tests", "examples"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 72