-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (79 loc) · 1.88 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "booklist"
version = "0.2.0"
description = "Automated search for current publications of select authors"
readme = "README.md"
license = {text = "GNU GPL v3"}
authors = [
{ name = "K. Balk", email = "kbalk@pobox.com" },
]
keywords = [
"books",
"CARL.X",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Topic :: Other/Nonlisted Topic",
]
requires-python = ">= 3.8"
dependencies = [
"pyYAML >= 6.0.2rc1",
"requests >= 2.32.3",
"voluptuous >= 0.15.2",
]
[project.scripts]
booklist = "booklist.main:main"
[project.urls]
Homepage = "https://github.com/kbalk/booklist"
Repository = "https://github.com/kbalk/booklist"
[tool.hatch.build.targets.sdist]
include = [
"booklist/*.py",
"LICENSE",
"README.md",
"sample_config",
"/tests/*.py",
]
exclude = [
"my_config",
]
[tool.hatch.envs.hatch-static-analysis]
dependencies = [
"black",
"isort",
"pylint",
# With hatch, pylint is using a different python path and can't find
# dependencies installed with booklist. Created ticket
# https://github.com/pypa/hatch/issues/1644 asking for a solution.
"pyYAML >= 6.0.2rc1",
"requests >= 2.32.3",
"voluptuous >= 0.15.2",
]
[tool.hatch.envs.hatch-static-analysis.scripts]
format-check = [
"isort --check-only --diff {args:.'}",
"black --check --diff {args:.}",
]
format-fix = [
"isort {args:.}",
"black {args:.}",
]
lint-check = [
"pylint {args:.}",
]
lint-fix = "lint-check"
[tool.black]
line-length = 80
[tool.isort]
profile = "black"
line_length = 80
[tool.pylint.messages_control]
max-line-length = 80