-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (50 loc) · 1.16 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
[project]
name = "mytime"
description = "Utility for summarizing time entries from daily logs."
authors = [
{ name = "Stephen Doyle", email = "[email protected]" }
]
dependencies = [
"Click",
"python-dateutil",
"tabulate",
"pandas>=2.2.2",
"pendulum>=3.0.0",
"numpy>=1.26.4",
]
readme = "README.md"
requires-python = ">= 3.8"
dynamic = ["version"]
[project.scripts]
"mytime" = "mytime:mytime"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.setuptools.dynamic]
version = {attr = "mytime.__version__"}
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.1.2",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories
exclude = [
".git",
]
# Same as black
line-length = 88
indent-width = 4
[tool.ruff.format]
# Like Black, use double quotes for strings
quote-style = "double"
# Like Bladk, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Auto detect the appropriate line ending.
line-ending = "auto"
[tool.hatch.version]
path = "version.py"
[tool.hatch.metadata]
allow-direct-references = true