-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (63 loc) · 1.34 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
[project]
name = "ridiwise"
description = "Sync Ridibooks book notes to Readwise.io"
authors = [
{ name = "Bumsoo Kim", email = "[email protected]" }
]
dependencies = [
"typer>=0.12.3",
"httpx>=0.27.0",
"browser-cookie3>=0.19.1",
"playwright>=1.45.1",
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">= 3.10"
dynamic = ["version"]
[project.scripts]
"ridiwise" = "ridiwise.cmd.main:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pre-commit>=3.7.1",
"pytest>=8.3.1",
"ruff>=0.5.4",
"pylint>=3.2.6",
"bump-my-version>=0.24.3",
"pytest-cov>=5.0.0",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/ridiwise"]
[tool.hatch.version]
path = "src/ridiwise/__init__.py"
[tool.ruff]
line-length = 88
indent-width = 4
src = ["src", "tests"]
[tool.ruff.lint]
extend-select = [
# https://docs.astral.sh/ruff/rules/
"E501", # line-too-long,
"I", # isort
]
[tool.ruff.format]
quote-style = "single"
[tool.bumpversion]
current_version = "1.5.0"
tag = true
sign_tags = true
commit = true
message = "chore: bump version to {new_version}"
allow_dirty = true
[[tool.bumpversion.files]]
filename = 'src/ridiwise/__init__.py'
[tool.coverage.run]
parallel = true
omit = [
"*/tests/*",
]