-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
116 lines (103 loc) · 2.32 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
112
113
114
115
116
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "parinvoke"
description = "Invoke operations on large models in parallel."
authors = [
{ name = "Michael Ekstrand", email = "mdekstrand@drexel.edu" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">= 3.10"
readme = "README.md"
license = { file = "LICENSE.md" }
dynamic = ["version"]
dependencies = [
"binpickle ~=0.4.0a4", # p2c: -p
"seedbank ~=0.2.0a1", # p2c: -p
"threadpoolctl >=3.0",
# "pyzmq >=24",
]
[project.optional-dependencies]
dev = [
"setuptools>=64",
"setuptools_scm>=8",
"build",
"twine",
"ruff",
"pyright",
"copier",
"unbeheader", # p2c: -p
"ipython",
"pyproject2conda",
"sphinx-autobuild",
]
test = [
"pytest >=7",
"pytest-cov >=2.12",
"coverage >=5",
"numpy >= 1.21",
]
doc = [
"sphinx >=4.2",
"sphinxext-opengraph >= 0.5",
"furo",
]
[project.urls]
Homepage = "https://parinvoke.lenksit.org"
GitHub = "https://github.com/lenskit/parinvoke"
# configure build tools
[tool.setuptools.packages.find]
include = ["parinvoke*"]
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
# settings for generating conda environments for dev & CI, when needed
[tool.pyproject2conda]
channels = ["conda-forge"]
python = ["3.10", "3.11", "3.12"]
default_envs = ["test", "doc"]
template_python = "envs/parinvoke-py{py_version}-{env}"
template = "envs/{env}"
[tool.pyproject2conda.envs.dev]
extras = ["dev", "test", "doc"]
[tool.pyproject2conda.envs.ci]
extras = ["test"]
[tool.ruff]
line-length = 100
target-version = "py310"
select = ["E", "F", "I"]
exclude = [
".git",
"__pycache__",
"docs/conf.py",
"build",
"dist",
]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"third-party",
"testing",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
testing = ["pytest", "hypothesis"]
[tool.mypy]
exclude = "^docs/"
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "strict"
exclude = [
"docs/*",
]
reportMissingImports = true
reportMissingTypeStubs = false