-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 2.21 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
76
77
78
79
80
81
82
83
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "testresources"
description = "Testresources, a pyunit extension for managing expensive test resources"
readme = "README.rst"
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
authors = [{name = "Robert Collins", email = "robertc@robertcollins.net"}]
license = {text = "Apache-2.0 or BSD"}
requires-python = ">=3.10"
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/testing-cabal/testresources"
"Bug Tracker" = "https://github.com/testing-cabal/testresources/issues"
"Source Code" = "https://github.com/testing-cabal/testresources"
[project.optional-dependencies]
test = [
"docutils",
"fixtures",
"testtools",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "testresources/_version.py"
template = """\
# This file is automatically generated by hatch.
version = {version!r}
__version__ = {version_tuple!r}
"""
[tool.hatch.build.targets.sdist]
include = [
"testresources*",
"doc*",
"Apache-2.0",
"BSD",
"COPYING",
"GOALS",
"Makefile",
"NEWS",
"TODO",
"tox.ini",
]
[tool.hatch.build.targets.wheel]
packages = ["testresources"]
[tool.ruff]
exclude = ["testresources/_version.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "PIE", "UP", "RSE", "RUF"]
ignore = [
# we make use of resources as a class var to initialize things
"RUF012"
]
[tool.ruff.lint.per-file-ignores]
"testresources/tests/*" = ["S"]