-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 1.35 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
68
69
70
71
72
73
74
75
[build-system]
requires = [ "hatchling", "hatch-vcs" ]
build-backend = "hatchling.build"
[project]
name = "murid"
authors = [
{ name="Philip Johansson", email="murid@phlipphlop.me" },
]
description = "A tool to fetch books on Hardcover from MaM"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"rich",
"rich_argparse",
"pyyaml",
"requests",
"rapidfuzz",
"qbittorrent-api",
"croniter",
"apprise",
]
dynamic = [ "version" ]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/murid/_version.py"
[project.scripts]
murid = "murid.main:main"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"ruff"
]
tests = [
"pytest",
"pytest-cov"
]
[project.urls]
Homepage = "https://github.com/flyingpeakock/murid"
Issues = "https://github.com/flyingpeakock/murid/issues"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # warnings
"F", # pyflakes (unused imports, etc.)
"I", # import sorting
"B", # bugbear (potentially buggy code)
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
addopts = [
"-ra"
]
[tool.coverage.run]
source = ["murid"]