forked from sarugaku/resolvelib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (94 loc) · 2.13 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "resolvelib"
dynamic = ["version"]
description = "Resolve abstract dependencies into concrete ones"
authors = [
{name = "Tzu-ping Chung", email = "uranusjr@gmail.com"},
]
dependencies = []
requires-python = ">=3.7"
readme = "README.rst"
license = {text = "ISC License"}
keywords = ["dependency", "resolution"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/sarugaku/resolvelib"
[project.optional-dependencies]
lint = [
"ruff",
"mypy",
"types-requests",
]
test = [
"packaging",
"pytest",
]
release = [
"build",
"towncrier",
"twine",
]
[build-system]
requires = ["setuptools >= 62"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = {where = ["src"], namespaces = false}
[tool.setuptools.dynamic]
version = {attr = "resolvelib.__version__"}
[tool.distutils.bdist_wheel]
universal = false # `py3` only tag
[tool.towncrier]
package = 'resolvelib'
package_dir = 'src'
filename = 'CHANGELOG.rst'
directory = 'news/'
title_format = '{version} ({project_date})'
issue_format = '`#{issue} <https://github.com/sarugaku/resolvelib/issues/{issue}>`_'
template = 'news/CHANGELOG.rst.jinja2'
[[tool.towncrier.type]]
directory = 'feature'
name = 'Features'
showcontent = true
[[tool.towncrier.type]]
directory = 'bugfix'
name = 'Bug Fixes'
showcontent = true
[[tool.towncrier.type]]
directory = 'trivial'
name = 'Trivial Changes'
showcontent = false
[tool.ruff]
src = ["src"]
line-length = 88
[tool.ruff.lint]
select = ["C","E","F","W","B","RUF","PLE","PLW","I","TCH","FA"]
ignore = ["PLW2901"]
exclude = [
".git",
".venv",
".venvs",
".nox",
"__pycache__",
"build",
"dist",
"*.pyi"
]
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.mypy]
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"html5lib",
"packaging.*"
]
ignore_missing_imports = true