-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 1.62 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
[project]
name = "libro-book"
version = "0.6.2"
description = "A command-line tool to track books read"
authors = [ {name = "Marcus Kazmierczak", email = "marcus@mkaz.com"} ]
license = "MIT"
license-files = ["LICENSE"]
readme = "readme.md"
keywords = ["books", "reading", "library"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"appdirs>=1.4",
"rich>=13.3",
]
[project.urls]
Documentation = "https://github.com/mkaz/libro"
Repository = "https://github.com/mkaz/libro"
Issues = "https://github.com/mkaz/libro/issues"
[project.scripts]
libro = "libro.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/libro"]
[tool.ruff]
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
disallow_untyped_calls = false
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = "appdirs.*"
ignore_missing_imports = true
[dependency-groups]
dev = [
"build>=1.3.0",
"mypy>=1.17.1",
"pytest>=8.4.1",
"ruff>=0.12.10",
"twine>=6.1.0",
]