-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
137 lines (115 loc) · 2.97 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tool.poetry]
name = "skald"
version = "0.6.1"
description = "📟 a simple and efficient experiment logger for Python 🐍"
keywords = ["logging", "tui"]
authors = ["Laurenz Farthofer <[email protected]>"]
repository = "https://github.com/laurenzbeck/skald"
packages = [{ include = "skald" }]
license = "MIT"
readme = "README.md"
[tool.poetry.scripts]
skald = "skald.cli:main"
[tool.poe.tasks]
test = "coverage run --source=skald -m pytest -vv --durations=8 tests"
[tool.poetry.dependencies]
python = "^3.11"
polars = "^1"
pandas = "^2"
beartype = "^0.18"
loguru = "^0.7"
# 🧑💻 UI
rich = "^13.7"
typer = "^0.12"
textual = "^0.76"
textual-dev = "^1.5"
textual-plotext = "^0.2"
aiofile = "^3.8.8"
matplotlib = "^3.9"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.20"
towncrier = "^23.11.0"
pre-commit = "^3.7.0"
poethepoet = "^0.26.1"
coverage = "^7.5.0"
pytest = "^8.2.0"
jupyter = "^1.1.1"
seaborn = "^0.13.2"
toml = "^0.10.2"
[tool.towncrier]
package = "skald"
directory = "changelog"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
title_format = "## [{version}](https://github.com/laurenzbeck/skald/tree/{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/laurenzbeck/skald/issues/{issue})"
[[tool.towncrier.type]]
directory = "security"
name = "❗ Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "➖ Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "🔥 Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "➕ Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "✨ Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "🐛 Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "📦 Misc"
showcontent = true
[tool.ruff]
exclude = ["examples/perlin_numpy.py"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
[tool.ruff.lint]
select = ["ALL"] # Refer to https://docs.astral.sh/ruff/rules/ and click on the specific rule to understand why it is important
ignore = [
"A002",
"ANN003",
"ANN101",
"ANN401",
"TCH002", # beartype needs types at runtime
"PYI041", # also needed because beartype is stricter here
"RUF002",
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
[tool.docformatter]
recursive = true
wrap-summaries = 0
wrap-descriptions = 0
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"